debian-mirror-gitlab/app/services/users/dismiss_project_callout_service.rb
2022-08-27 11:52:29 +05:30

11 lines
250 B
Ruby

# 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