Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionController::Routing::Routes.draw do |map|
- map.root :controller => 'home', :action => 'index'
- map.connect ':controller/:action/:id'
- map.connect ':controller/:action/:id.:format'
- #map.resources :users
- #map.resource :session
- map.signup '/signup', :controller => 'users', :action => 'new'
- map.login '/login', :controller => 'session', :action => 'show'
- map.logout '/logout', :controller => 'session', :action => 'destroy'
- map.complete '/complete', :controller => 'users', :action => 'complete'
- map.home '/home', :controller => 'home', :action => 'index'
- #map.panel '/panel', :controller => 'panel', :action => 'edit'
- end
Add Comment
Please, Sign In to add comment