debian-mirror-gitlab/app/services/users/dismiss_group_callout_service.rb
2022-01-26 12:08:38 +05:30

11 lines
244 B
Ruby

# 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