Is there a way I can map the root to a certain controller so I don't have to manually enter the controller and action for each root page?
I am using this for my root class pages:
Code Ruby:map.connect 'what', :controller => 'pages', :action => 'what' map.connect 'faq', :controller => 'pages', :action => 'faq' map.connect 'about', :controller => 'pages', :action => 'about' map.connect 'contact', :controller => 'pages', :action => 'contact'






Bookmarks