test/rails_app/config/routes.rb in devise_invitable-1.7.5 vs test/rails_app/config/routes.rb in devise_invitable-2.0.0
- old
+ new
@@ -1,9 +1,9 @@
RailsApp::Application.routes.draw do
devise_for :users
devise_scope :user do
- resource :free_invitation, :only => [:new, :create]
- resource :admin, :only => [:new, :create]
+ resource :free_invitation, only: [:new, :create]
+ resource :admin, only: [:new, :create]
end
devise_for :admins
- root :to => 'home#index'
+ root to: 'home#index'
end