debian-mirror-gitlab/app/serializers/request_aware_entity.rb
2022-10-11 01:57:18 +05:30

15 lines
258 B
Ruby

# frozen_string_literal: true
module RequestAwareEntity
extend ActiveSupport::Concern
included do
include Gitlab::Routing
include GitlabRoutingHelper
include Gitlab::Allowable
end
def request
options.fetch(:request, nil)
end
end