gitlab-org--gitlab-foss/app/serializers/request_aware_entity.rb
2016-12-21 15:31:49 +01:00

12 lines
190 B
Ruby

module RequestAwareEntity
extend ActiveSupport::Concern
included do
include Gitlab::Routing
include Gitlab::Allowable
end
def request
options.fetch(:request)
end
end