summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/saved_replies_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/profiles/saved_replies_controller.rb')
-rw-r--r--app/controllers/profiles/saved_replies_controller.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/profiles/saved_replies_controller.rb b/app/controllers/profiles/saved_replies_controller.rb
new file mode 100644
index 00000000000..5ac5d645efb
--- /dev/null
+++ b/app/controllers/profiles/saved_replies_controller.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Profiles
+ class SavedRepliesController < Profiles::ApplicationController
+ feature_category :user_profile
+
+ before_action do
+ render_404 unless Feature.enabled?(:saved_replies, current_user)
+
+ @hide_search_settings = true
+ end
+ end
+end