gitlab-org--gitlab-foss/app/policies/design_management/design_at_version_policy.rb

8 lines
177 B
Ruby

# frozen_string_literal: true
module DesignManagement
class DesignAtVersionPolicy < ::BasePolicy
delegate { @subject.version }
delegate { @subject.design }
end
end