Submenu in Rails

Hi All,

Is it necessary to have a separate controller for each sub-menu and sub-sub-menus.

I want the nav buttons of the main section and the sub-menu point to each other, is this possible with rails partials ?

Is there any tutorial for sub-menus ?

Thanks & Warm Regards,

No, it’ s not necessary . The issue of menus, sub-menu etc are graphical layout that can be customized by CSS and HTML. suppose we have the following menu:

You may also wish to have a look at this one:

http://www.killswitchcollective.com/articles/13_best_practices_for_rails_partials

I haven’t scrutinized it, but I just bumped into it online.

Hi All,

Is it necessary to have a separate controller for each sub-menu and sub-sub-menus.

I want the nav buttons of the main section and the sub-menu point to each other, is this possible with rails partials ?

Is there any tutorial for sub-menus ?

The first place I go to for tips/tricks and tuts is Railscasts. Check out:

It may not be everything you want/need, but it may give a few pointers. I'm going to give it a watch tonight and add it to my own ref library.

Paul

Hi Paul,

I shall def. have a look at it soon, currenlty my Centos has problem and not able to view any mov files.

Warm Regards,