Skip to content

Commit

Permalink
fix password reset link api
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Feb 17, 2022
1 parent 24c4d28 commit 63ca796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/authentication/authentication_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create_migrations
end

def add_routes
route "resource :password_resets, except: [:show, :destroy]"
route "resource :password_resets, only: [:new, :edit, :create, :update]"
route "resource :cancellations, only: [:new, :create]"
route "resource :passwords, only: [:update, :edit]"
route "delete 'sign_out', to: 'sessions#destroy'"
Expand Down

0 comments on commit 63ca796

Please sign in to comment.