]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/confirmations_controller.rb
add route to pass locale
[rails.git] / app / controllers / confirmations_controller.rb
index 372ac2a70c0dc2277902fc43f71d3bee25a94fdc..7b1c52ca68876ad3a22f24f0ac9d22bb91489c8d 100644 (file)
@@ -129,9 +129,9 @@ class ConfirmationsController < ApplicationController
   # display a message about th current status of the gravatar setting
   def gravatar_status_message(user)
     if user.image_use_gravatar
-      t "users.account.gravatar.enabled"
+      t "profiles.edit.gravatar.enabled"
     else
-      t "users.account.gravatar.disabled"
+      t "profiles.edit.gravatar.disabled"
     end
   end
 end