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

13 lines
216 B
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module ProtectedTagAccess
extend ActiveSupport::Concern
2018-12-05 23:21:45 +05:30
include ProtectedRefAccess
2017-08-17 22:00:37 +05:30
included do
belongs_to :protected_tag
delegate :project, to: :protected_tag
end
end