Hello all,
Coming from ASP.net, I am accustomed to using the web.sitemap file for
generating information I may need on any page in my site. I''m jumping
into Ruby on Rails and after looking around, I can''t find anything to
really help me with this problem I am having.
I want to be able to print out the "section" the user is in, the page
name, and sub-navigation for that "section", if any. So an example may
be:
Home
About Us
Our Mission
Our Philosophy
Press Releases
So if a user was on the "Our Mission" page, it would say "About
Us" at
the top, then "Our Mission" right below that, as well as bread crumbs
in
the form of "Home > About Us > Our Mission". The sub-navigation
would
consist of "Our Mission, Our Philosophy, Press Releases".
What''s the easy, or suggested way to do something like this in Ruby? I
found another post that pointed to
http://rubyforge.org/projects/sitemap/ , but there wasn''t any
documentation on how to install this and I''m not even 100% sure this is
a possible solution for what i''m trying to do.
Any help anyone can give on this would be greatly appreciated. I
obviously am new to Ruby on Rails, but given what i''ve seen and done so
far -I''m sure there is something I am missing or an easy way to handle
this!
Thanks!
osh
--
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
-~----------~----~----~----~------~----~------~--~---