My problem is fairly straightforward. All my web pages share
standard-layout.rhtml. This layout renders a set of links in the footer
of the page using a partial. I want these links to be dependent upon
which controller and action is being called. To this end, I want a
given action on a controller to be able to place into an array a set of
objects, each of which contains information for rendering a link. My
question is, how do I get make that array available to
standard-layout.rhtml? I know that I can place methods in a helper and
these are available to the layout, but I need the data to come from an
action.
Thanks for any suggestions!
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---