config/routes.rb in switch_user-1.4.0 vs config/routes.rb in switch_user-1.5.0
- old
+ new
@@ -1,4 +1,4 @@
Rails.application.routes.draw do
- get :switch_user, :to => 'switch_user#set_current_user'
- get 'switch_user/remember_user', :to => 'switch_user#remember_user'
+ get :switch_user, to: 'switch_user#set_current_user'
+ get 'switch_user/remember_user', to: 'switch_user#remember_user'
end