config/routes.rb in symphonia-3.1.1 vs config/routes.rb in symphonia-3.1.2
- old
+ new
@@ -7,11 +7,11 @@
get '/login', to: 'user_sessions#new'
delete '/logout', to: 'user_sessions#destroy'
get '/register', to: 'accounts#register', as: 'account_register'
post '/register', to: 'accounts#create'
- get '/activation/:activation_code', to: 'accounts#activation'
- get '/reset_password/:id', to: 'accounts#reset_password', as: 'reset_password'
+ get '/activation/:activation_code', to: 'accounts#activation', as: 'activation'
+ match '/reset_password/:id', to: 'accounts#reset_password', as: 'reset_password', via: [:get, :put]
scope 'admin' do
get 'user/current', to: 'users#show', as: 'user_current'
root 'admin#index'