From: Tom Hughes Date: Wed, 1 Aug 2018 20:35:51 +0000 (+0100) Subject: Set the locale when adding a comment to an issue X-Git-Tag: live~3514 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/91194cf354195002d75b22468745912204d6d23f Set the locale when adding a comment to an issue --- 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