search for: nav_buttons

Displaying 1 result from an estimated 1 matches for "nav_buttons".

Did you mean: nav_button
2005 Dec 07
1
Navigation
Greetings, I appreciate the help from here as I seem to be asking the noob questions a lot, but what is a good way to deal with navigation pulled from a database? I have this in my view: <% @nav_buttons.each do |nav_button| %> <li><a href="#" class="nav"><%=h nav_button.name %></a></li> <% end %> this in my controller def index shownav end def shownav @nav_buttons = NavButton.find(:all) end and I want...