debian-mirror-gitlab/app/services/users/dismiss_group_callout_service.rb
2021-11-11 11:23:49 +05:30

11 lines
248 B
Ruby

# frozen_string_literal: true
module Users
class DismissGroupCalloutService < DismissUserCalloutService
private
def callout
current_user.find_or_initialize_group_callout(params[:feature_name], params[:group_id])
end
end
end