Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map.connect '', :controller => 'teasers'
- map.connect 'page_category/:id/list', :controller => 'page_categories', :action => 'list_pages'
- map.connect 'menu_item/:menu_id/page_category/:id/list', :controller => 'page_categories', :action => 'list_pages'
- map.connect 'menu_item/:menu_id/:controller/:action/:id', :menu_id => /\d+/
- #nice map for menu editing
- map.connect 'menu/:menu_name/:action/:id', :controller => 'menu_items', :action => 'list_by_name'
- # Allow downloading Web Service WSDL as a file with an extension
- # instead of a file named 'wsdl'
- map.connect ':controller/service.wsdl', :action => 'wsdl'
- # Install the default route as the lowest priority.
- map.connect ':controller/:action/:id'
Add Comment
Please, Sign In to add comment