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

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?