calling methods through rhtml (layout)

Paulo Abreu
2006-11-09T20:35:21Z

hello

I have a menu with some logic. I want to call a method in my rhtml
layout file, so that I can get an array with items for displaying
through a
for statement.

I tried to put my logic at ApplicationController but it seems that I
am not able to see the method when I try to call it through rhtml.

I would like some advice about this subject,

Thanks in advance


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---