debian-mirror-gitlab/app/serializers/request_aware_entity.rb
2017-09-10 17:25:29 +05:30

13 lines
222 B
Ruby

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