module RequestAwareEntity
  extend ActiveSupport::Concern

  included do
    include Gitlab::Routing.url_helpers
  end

  def request
    @options.fetch(:request)
  end
end