Sha256: 0757e6242024e68a44f5e3528ddc49a2f3ff53d0519de10c783f46f932242677
Contents?: true
Size: 825 Bytes
Versions: 5
Compression:
Stored size: 825 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.devise_for :users map.devise_for :admin, :as => 'admin_area' map.devise_for :account, :path_names => { :sign_in => 'login', :sign_out => 'logout', :password => 'secret', :confirmation => 'verification' } map.devise_for :organizers, :singular => 'manager', :path_prefix => '/:locale', :requirements => { :extra => 'value' } map.resources :users, :only => :index map.resources :admins, :only => :index map.root :controller => :home map.connect '/admin_area/password/new', :controller => "passwords", :action => "new" map.admin_root '/admin_area/home', :controller => "admins", :action => "index" map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format' end
Version data entries
5 entries across 5 versions & 2 rubygems