test/rails_app/config/routes.rb in devise-0.7.3 vs test/rails_app/config/routes.rb in devise-0.7.4
- old
+ new
@@ -1,13 +1,10 @@
ActionController::Routing::Routes.draw do |map|
map.devise_for :users
map.devise_for :admin, :as => 'admin_area'
- map.devise_for :account, :path_names => {
+ map.devise_for :accounts, :path_names => {
:sign_in => 'login', :sign_out => 'logout', :password => 'secret', :confirmation => 'verification'
- }
- map.devise_for :organizers, :scope => 'manager',
- :path_prefix => '/:locale',
- :requirements => { :extra => 'value' }
+ }, :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