summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-01 22:05:11 -0700
committermo khan <mo@mokhan.ca>2015-02-01 22:05:11 -0700
commit43b4f0cab83fbeaa5ed51c5c1058d0b4629bc14a (patch)
treea0ad828b41a8767404e64366c48db1608fa9fc64 /app/controllers
parent893b13b10a515ab54816b356e659cf302831fd13 (diff)
move translations to separate files.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/my/passwords_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/my/passwords_controller.rb b/app/controllers/my/passwords_controller.rb
index 7c0c8c0e..cba60771 100644
--- a/app/controllers/my/passwords_controller.rb
+++ b/app/controllers/my/passwords_controller.rb
@@ -11,13 +11,13 @@ module My
def password_changed(user)
@user = user
sign_in(@user, bypass: true) unless Rails.env.test?
- flash[:notice] = t('passwords.updated')
+ flash[:notice] = t("my.passwords.updated")
render :index
end
def password_changed_failed(user)
@user = user
- flash[:error] = t(:passwords_do_not_match)
+ flash[:error] = t("my.passwords.passwords_do_not_match")
render :index
end
end