Fix misspelt resource name.

This commit is contained in:
Tom Hughes 2009-06-01 08:50:20 +00:00
parent 5b0024e61a
commit 705f93e810

View file

@ -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