What I am trying to do is create subpages within the main page.
So if the top navigation is
I would want a sub navigation under the pages like so;
Would I need to create a new controller for each page category? (i.e.
about, contact, support). And then add the pages within each respective
The big problem I am having currently is routing the pages.
So I currently have the top level navigation all done under 1 controller
(static_pages_controller.rb) & the routes.rb (match ‘/about’, to:
So I am trying to figure out how I would add the subpages for about
(history, location, careers) so they the url
I’m sure there is an easy way to do this, but I can’t seem to figure it
out! Any help would be much appreciated!!