Sha256: 7be2038512833778070915de610b7e6735093048c6ea096774648ad3406e2d31
Contents?: true
Size: 454 Bytes
Versions: 29
Compression:
Stored size: 454 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.resources :users map.resource :session map.namespace(:admin) do |admin| admin.resources :users end map.login '/login', :controller => 'sessions', :action => 'new' map.logout '/logout', :controller => 'sessions', :action => 'destroy' map.forgot '/forgot', :controller => 'users', :action => 'forgot' map.reset 'reset/:reset_code', :controller => 'users', :action => 'reset' end
Version data entries
29 entries across 29 versions & 2 rubygems