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

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

module Users
  class DismissNamespaceCalloutService < DismissCalloutService
    private

    def callout
      current_user.find_or_initialize_namespace_callout(params[:feature_name], params[:namespace_id])
    end
  end
end