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

12 lines
248 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# 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