redirect::to()

Redirects to a specific URL. You can pass either a normal URI a controller path or simply nothing (which redirects home)

  • $uri (string)
  • $arguments (array)