Named_paths in non AR/AC class

I’ve got a Sidebar class which handles the generating of various
sidebars, and I’d like to be able to insert a named path as one of its
attributes (each sidebar is fed into the sidebar partial, so the feeds
sidebar might have the Sidebar#more_info_link pointing at the RESTful
resource for editing/managing the users feeds.

Can anyone point me in the direction of how to include the
edit_feed_path (for example) method in the Sidebar class…


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs