debian-mirror-gitlab/app/controllers/profiles/saved_replies_controller.rb

14 lines
294 B
Ruby
Raw Normal View History

2023-04-23 21:23:45 +05:30
# 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