Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 266 Bytes
ActionController::Routing::Routes.draw do |map|
map.resources :users, :has_many => [:jots]
map.resources :sessions
map.home '', :controller => 'sessions', :action => 'new'
map.logout '/logout', :controller => 'sessions', :action => 'destroy'
end