Merge pull request #276 from jmmastey/fix-password-reset-path
Awesome @jmmastey. I think we went with a match route, later changed it as match was *sorta-ish* deprecated in Rails 4+. Anyways, believe those changes might have caused some issues. Either way, verified everything worked locally and performed PR. Thanks again!
This commit is contained in:
@@ -25,7 +25,7 @@ class PasswordResetsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def forgot_password
|
||||
def send_forgot_password
|
||||
@user = User.find_by_email(params[:email]) unless params[:email].nil?
|
||||
|
||||
if @user && password_reset_mailer(@user)
|
||||
|
||||
Reference in New Issue
Block a user