diff options
Diffstat (limited to 'app/controllers/concerns/comment_and_close_flag.rb')
-rw-r--r-- | app/controllers/concerns/comment_and_close_flag.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/comment_and_close_flag.rb b/app/controllers/concerns/comment_and_close_flag.rb index e2f3272abbc..02a68d2857c 100644 --- a/app/controllers/concerns/comment_and_close_flag.rb +++ b/app/controllers/concerns/comment_and_close_flag.rb @@ -5,7 +5,7 @@ module CommentAndCloseFlag included do before_action do - push_frontend_feature_flag(:remove_comment_close_reopen, @group) + push_frontend_feature_flag(:remove_comment_close_reopen, @group || @project&.group) end end end |