Set the locale when adding a comment to an issue
[rails.git] / app / controllers / issue_comments_controller.rb
index 52904d5b2b869550d6c0cc2c254c033b8277c573..8d1acec759699d511058061152f5fcd966dad15c 100644 (file)
@@ -2,6 +2,7 @@ class IssueCommentsController < ApplicationController
   layout "site"
 
   before_action :authorize_web
+  before_action :set_locale
   before_action :require_user
   before_action :check_permission