debian-mirror-gitlab/app/policies/clusters/agents/activity_event_policy.rb
2022-01-26 12:08:38 +05:30

11 lines
192 B
Ruby

# frozen_string_literal: true
module Clusters
module Agents
class ActivityEventPolicy < BasePolicy
alias_method :event, :subject
delegate { event.agent }
end
end
end