debian-mirror-gitlab/app/services/users/dismiss_namespace_callout_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
256 B
Ruby
Raw Normal View History

2022-08-27 11:52:29 +05:30
# 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