gitlab-org--gitlab-foss/app/serializers/request_aware_entity.rb
2016-11-04 15:00:39 +01:00

11 lines
173 B
Ruby

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