gitlab-org--gitlab-foss/app/serializers/request_aware_entity.rb

13 lines
190 B
Ruby
Raw Normal View History

2016-10-28 08:32:07 -04:00
module RequestAwareEntity
extend ActiveSupport::Concern
included do
include Gitlab::Routing
include Gitlab::Allowable
end
def request
options.fetch(:request)
end
2016-10-28 08:32:07 -04:00
end