gitlab-org--gitlab-foss/app/serializers/request_aware_entity.rb
2018-07-23 11:27:39 -07:00

15 lines
253 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)
end
end