[Rails] Helpers?

Buntin, Seth - KATE
Fri, 17 Feb 2006 19:04:11 -0000

Would I use a helper for this situation?



I have a layout that is used over two controllers (admin and login).
Each controller has their own navigation.  Can I do something like this?



<%= getNavigation("admin") %> or <%=
getNavigation("login") %>



And return the navigation list depending on the string sent?



Seth Buntin

-------------- next part --------------
An HTML attachment was scrubbed...