Add well known route for changing password

This commit is contained in:
Karina Kwiatek 2022-06-27 22:10:39 +02:00 committed by Andreas Nedbal
parent 93fb487cfc
commit 5a07c7a8ce
1 changed files with 2 additions and 0 deletions

View File

@ -158,5 +158,7 @@ Rails.application.routes.draw do
match '/feedback/bugs(/*any)', to: 'feedback#bugs', via: 'get', as: 'feedback_bugs' match '/feedback/bugs(/*any)', to: 'feedback#bugs', via: 'get', as: 'feedback_bugs'
match '/feedback/feature_requests(/*any)', to: 'feedback#features', via: 'get', as: 'feedback_features' match '/feedback/feature_requests(/*any)', to: 'feedback#features', via: 'get', as: 'feedback_features'
get '/.well-known/change-password', to: redirect('/settings/account')
puts 'processing time of routes.rb: ' + "#{(Time.now - start).round(3).to_s.ljust(5, '0')}s".light_green puts 'processing time of routes.rb: ' + "#{(Time.now - start).round(3).to_s.ljust(5, '0')}s".light_green
end end