Redirect Action Element

The `#redirect{}` action will redirect the page to the provided URL.


  • url (string) - The URL to redirect the page to.
*  login - (/string | boolean()) :: If set to a URL (string or binary), will
  treat the redirect as if it were called with `wf:redirect_to_login/2`. If
  set to `true`, will treat it as if it was called with
  `wf:redirect_to_login/1`. (Default: `false`)

View Source or Submit Corrections for this Documentation Page
Copyright © 2008-2021 Nitrogen Web Framework. Released under the MIT License.