]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/reports_controller.rb
Set the locale for issue and report views
[rails.git] / app / controllers / reports_controller.rb
index 95c9343e63685dea0d49ad21bccc29e9bc98a98b..08092c073c7de0b14938edafc6c28f445f457c18 100644 (file)
@@ -2,6 +2,7 @@ class ReportsController < ApplicationController
   layout "site"
 
   before_action :authorize_web
+  before_action :set_locale
   before_action :require_user
 
   def new