How to get current full url in phoenix?

How to get current full url in phoenix ?

What do you mean by full url? You can get your endpoint url MyApp.Endpoint.url
or use helper functions which Phoenix.Router has generated

1 Like

You can use Phoenix.Controller.current_url now.

3 Likes