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