]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/message_controller.rb
Fix wrong translation key in nearby user list. Hopefully fixes #1885
[rails.git] / app / controllers / message_controller.rb
index 2f71107f4b39e35720b78193d549a6f716d74e83..183f8004a19ed1831c28e52ceab1a28dd9e99333 100644 (file)
@@ -2,6 +2,7 @@ class MessageController < ApplicationController
   layout 'site'
 
   before_filter :authorize_web
   layout 'site'
 
   before_filter :authorize_web
+  before_filter :set_locale
   before_filter :require_user
   before_filter :check_database_readable
   before_filter :check_database_writable, :only => [:new, :reply, :mark]
   before_filter :require_user
   before_filter :check_database_readable
   before_filter :check_database_writable, :only => [:new, :reply, :mark]