Displaying 1 result from an estimated 1 matches for "info_menu".
Did you mean:
info_len
2006 Feb 12
0
One or Multiple Controllers
...der as partial template
Information needs a sidebar menu, so in the method information
specified the name of the template to render :partial=>@submenu
Also in the Page controller I had methods information_safety,
information_fundraising, and information_faq ... each setting
@submenu to "info_menu"
Then I come to the product section, which has 4 sections and I did the same
thing. It worked.
(so far no database interation)
Then I thought, maybe the better design was to create a Product controller.
So I did. I set the submenu template name in the initialize method, and told
it to use l...