BigW Consortium Gitlab

request_aware_entity.rb 222 Bytes
module RequestAwareEntity
  extend ActiveSupport::Concern

  included do
    include Gitlab::Routing
    include GitlabRoutingHelper
    include Gitlab::Allowable
  end

  def request
    options.fetch(:request)
  end
end