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

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

module Users
  class DismissProjectCalloutService < DismissCalloutService
    private

    def callout
      current_user.find_or_initialize_project_callout(params[:feature_name], params[:project_id])
    end
  end
end