Fix misspelt resource name.
This commit is contained in:
parent
5b0024e61a
commit
705f93e810
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class UserController < ApplicationController
|
||||||
if user
|
if user
|
||||||
token = user.tokens.create
|
token = user.tokens.create
|
||||||
Notifier.deliver_lost_password(user, token)
|
Notifier.deliver_lost_password(user, token)
|
||||||
flash[:notice] = I18n.t('user.lost_password.notice.email on way')
|
flash[:notice] = I18n.t('user.lost_password.notice email on way')
|
||||||
else
|
else
|
||||||
flash[:notice] = I18n.t('user.lost_password.notice email cannot find')
|
flash[:notice] = I18n.t('user.lost_password.notice email cannot find')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue