Hello all, I''m continuing my journey into Ruby and Rails and would like to find a way to create CSS-compliant menus. I want to restrict what appears on the menu based on the user''s role, so I''m thinking that I''ll store the list of roles in which the user is a member in the session. Does this make sense? Better yet, does anyone have any sample code (or a component) that already does the job? I''m looking for roughly the same level of functionality as you would find in the XmlSiteMap and Menu controls in ASP.NET (except I want it to actually be CSS compliant). Thanks, Will --------------------------------- Do you Yahoo!? Get on board. You''re invited to try the new Yahoo! Mail. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi, I am also looking for a similar solution. Can you please tell me as to how you did it ? Will Gant wrote:> Hello all, > I''m continuing my journey into Ruby and Rails and would like to find a > way to create CSS-compliant menus. I want to restrict what appears on > the menu based on the user''s role, so I''m thinking that I''ll store the > list of roles in which the user is a member in the session. Does this > make sense? > > Better yet, does anyone have any sample code (or a component) that > already does the job? I''m looking for roughly the same level of > functionality as you would find in the XmlSiteMap and Menu controls in > ASP.NET (except I want it to actually be CSS compliant). > > Thanks, > Will > > > --------------------------------- > Do you Yahoo!? > Get on board. You''re invited to try the new Yahoo! Mail.-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Seemingly Similar Threads
- Best Distro for Mongrel
- Images outside the site
- Renaming Journey and avoiding libraries with common noun names
- Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
- Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)