Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # (part of the) content of my config/routes.rb
- ActionController::Routing::Routes.draw do |map|
- map.company 'company', :controller => 'companies', :action => 'index'
- map.root :company_url
- end
- # In routes.rb
- map.new_session :controller => 'sessions', :action => 'new'
- map.root :new_session
Add Comment
Please, Sign In to add comment