Redirecting to uploaded file (using arc) url gives no route found

Hello, please i’m having issue in successfully redirecting to an uploaded document url. I implemented file upload using arc and I want to be able to redirect directly to the file url.

I got no route found for GET /uploads/documents/d3178e13-c1f2-465c-bb26-e7d58cedc6f4/original_04012018_IMG_8287.JPG

My code is below

document = Clients.get_document!(id)
document_url = App.Modules.Document.url({document.file, document}, :original)

# conn |> redirect(to: document_url)
redirect conn, external: document_url

Please never mind. I got this working by restarting the server.