Sha256: 2f988bf5e8c6dd4fc461c0db3a8bb0ea4858a475018a50f8c18dda1193427040
Contents?: true
Size: 768 Bytes
Versions: 2
Compression:
Stored size: 768 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 ':controller/:action/:id' map.connect ':controller/:action/:id.:format' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-0.7.5 | test/rails_app/config/routes.rb |
devise-0.7.4 | test/rails_app/config/routes.rb |