Exemple #1
0
 /**
  * Create a new redirect response to the previously intended location.
  *
  * @param  string  $default
  * @param  int     $status
  * @param  array   $headers
  * @param  bool    $secure
  * @return \Nova\Http\RedirectResponse
  */
 public function intended($default = '/', $status = 302, $headers = array(), $secure = null)
 {
     $path = $this->session->pull('url.intended', $default);
     return $this->to($path, $status, $headers, $secure);
 }