Fix PublicDocumentRoutesHelper#public_host

So that public_document_url can be used outside of the request context