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

comment_templates_controller.rb « profiles « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6725c27f76c191f73cc7a1827000814a3df5726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Profiles
  class CommentTemplatesController < 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