2018-08-03 17:22:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-15 22:29:07 +00:00
|
|
|
module ProtectedTagAccess
|
|
|
|
extend ActiveSupport::Concern
|
2018-08-30 18:49:26 +00:00
|
|
|
include ProtectedRefAccess
|
2017-03-15 22:29:07 +00:00
|
|
|
|
|
|
|
included do
|
|
|
|
belongs_to :protected_tag
|
2017-04-05 17:59:46 +00:00
|
|
|
|
2017-03-15 22:29:07 +00:00
|
|
|
delegate :project, to: :protected_tag
|
|
|
|
end
|
|
|
|
end
|