Phoenix.Controller.redirect/2

Parsed documentation:
View on GitHub
Sends redirect response to the given url.

For security, `:to` only accepts paths. Use the `:external`
option to redirect to any URL.

## Examples

    iex> redirect conn, to: "/login"

    iex> redirect conn, external: "http://elixir-lang.org"
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.