Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map.resources :hotels, :controller => :admin_hotel, :path_prefix => 'admin', :has_many => :goodjob
- map.resources :hotels, :controller => :admin_hotel, :path_prefix => 'admin', :has_many => :mvp
- map.resources :hotels, :controller => :admin_hotel, :path_prefix => 'admin', :has_many => :issue
- map.resources :goodjobs, :controller => :admin_goodjob
- map.resources :mvps, :controller => :admin_mvp
- map.resources :issues, :controller => :admin_issue
- # Install the default routes as the lowest priority.
- map.connect ':controller/:action/:id'
- map.connect ':controller/:action/:id.:format'
Add Comment
Please, Sign In to add comment