Sha256: 4f7b33b961facf6b423fc0349f90fb8371aebedf23c0802033bbb3ec894f855d
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.devise_for :users map.devise_for :admin, :as => 'admin_area' map.devise_for :accounts, :path_names => { :sign_in => 'login', :sign_out => 'logout', :password => 'secret', :confirmation => 'verification' }, :scope => 'manager', :path_prefix => '/:locale', :requirements => { :extra => 'value' } map.resources :users, :only => [:index], :member => { :expire => :get } 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 '/sign_in', :controller => "sessions", :action => "new" map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devise-0.8.2 | test/rails_app/config/routes.rb |
devise-0.8.1 | test/rails_app/config/routes.rb |
devise-0.8.0 | test/rails_app/config/routes.rb |