Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/comment_and_close_flag.rb')
-rw-r--r--app/controllers/concerns/comment_and_close_flag.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/concerns/comment_and_close_flag.rb b/app/controllers/concerns/comment_and_close_flag.rb
new file mode 100644
index 00000000000..e2f3272abbc
--- /dev/null
+++ b/app/controllers/concerns/comment_and_close_flag.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module CommentAndCloseFlag
+ extend ActiveSupport::Concern
+
+ included do
+ before_action do
+ push_frontend_feature_flag(:remove_comment_close_reopen, @group)
+ end
+ end
+end