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: f482142b911c81395554c773771fe9b7d615afb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Users
  class DismissGroupCalloutService < DismissCalloutService
    private

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