From 91194cf354195002d75b22468745912204d6d23f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 1 Aug 2018 21:35:51 +0100 Subject: [PATCH 1/1] Set the locale when adding a comment to an issue --- app/controllers/issue_comments_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/issue_comments_controller.rb b/app/controllers/issue_comments_controller.rb index 52904d5b2..8d1acec75 100644 --- a/app/controllers/issue_comments_controller.rb +++ b/app/controllers/issue_comments_controller.rb @@ -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 -- 2.43.2