projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa0aeb
)
Set the locale when adding a comment to an issue
author
Tom Hughes
<tom@compton.nu>
Wed, 1 Aug 2018 20:35:51 +0000
(21:35 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 1 Aug 2018 20:35:51 +0000
(21:35 +0100)
app/controllers/issue_comments_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/issue_comments_controller.rb
b/app/controllers/issue_comments_controller.rb
index 52904d5b2b869550d6c0cc2c254c033b8277c573..8d1acec759699d511058061152f5fcd966dad15c 100644
(file)
--- 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