1
0
Fork 0

Display password reset link on sign up page

This commit is contained in:
Alex Kotov 2018-12-15 10:03:22 +05:00
parent 6e6763a02e
commit 56b49b80e7
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@
module UsersHelper
def display_password_reset_link?
devise_mapping.recoverable? &&
controller_name != 'passwords' &&
controller_name != 'registrations'
controller_name != 'passwords'
end
def display_email_confirmation_link?