Sha256: 3f9b50efcc5cda5ce630ac65f1cc0668bb9e2da1a1cebfa24469ede58ce3ead4
Contents?: true
Size: 725 Bytes
Versions: 4
Compression:
Stored size: 725 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' 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
4 entries across 4 versions & 3 rubygems