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

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

module Users
  class DismissGroupCalloutService < DismissUserCalloutService
    private

    def callout
      current_user.find_or_initialize_group_callout(params[:feature_name], params[:group_id])
    end
  end
end