예제 #1
0
 /**
  * Create a new redirect response, while putting the current URL in the session.
  *
  * @param  string  $path
  * @param  int     $status
  * @param  array   $headers
  * @param  bool    $secure
  * @return \Nova\Http\RedirectResponse
  */
 public function guest($path, $status = 302, $headers = array(), $secure = null)
 {
     $this->session->put('url.intended', $this->generator->full());
     return $this->to($path, $status, $headers, $secure);
 }