debian-mirror-gitlab/app/models/concerns/protected_tag_access.rb

12 lines
188 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module ProtectedTagAccess
extend ActiveSupport::Concern
included do
include ProtectedRefAccess
belongs_to :protected_tag
delegate :project, to: :protected_tag
end
end