spec/dummy/config/routes.rb in token_action-0.0.1 vs spec/dummy/config/routes.rb in token_action-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
Rails.application.routes.draw do
mount TokenAction::Engine => '/token_action'
- get 'hello/token_success', :as => :token_success
- get 'hello/token_failure', :as => :token_failure
- get 'hello/success', :as => :success
- get 'hello/failure', :as => :failure
- get 'hello/not_found', :as => :not_found
- root :to => 'hello#hello'
+ get 'hello/token_success', as: :token_success
+ get 'hello/token_failure', as: :token_failure
+ get 'hello/success', as: :success
+ get 'hello/failure', as: :failure
+ get 'hello/not_found', as: :not_found
+ root to: 'hello#hello'
end