debian-mirror-gitlab/app/policies/alert_management/alert_policy.rb
2022-05-07 20:08:51 +05:30

9 lines
175 B
Ruby

# frozen_string_literal: true
module AlertManagement
class AlertPolicy < ::BasePolicy
delegate { @subject.project }
end
end
AlertManagement::AlertPolicy.prepend_mod