/**
  * Display the password reset view for the given token.
  *
  * @param  string  $token
  * @return Response
  */
 public function getReset($token = null)
 {
     if (is_null($token)) {
         \App::abort(404);
     }
     return \View::make('password.reset')->with('token', $token);
 }
示例#2
0
 public function home($req, $req2)
 {
     //$article = Article::first();
     //echo __FILE__;
     //echo $req.'<br>'.$req2;
     //require dirname(__FILE__).'/../views/home.php';
     $this->view = \View::make('home')->with('article', Article::first())->withTitle('MFFC :-D')->withFindMe('OK!')->withReq($req)->with('req2', $req2);
     /*$this->mail = \Mail::to(['*****@*****.**', '*****@*****.**'])
     
                 ->from('M**********r <*****@*****.**>')
     
                 ->title('F**k Me!')
     
                 ->content('<h1>Hello~~</h1>');*/
     \Redis::set('key', 'value', 5, 's');
     echo \Redis::get('key') . '<br>';
 }
示例#3
0
 public function getcvUpdate()
 {
     $id = \Auth::user()->id;
     $cv = Cv::find($id);
     return \View::make('cv.edit')->with('cv', $cv);
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function createMessage($conversation)
 {
     return View::make('conversations.create');
 }
示例#5
0
 /**
  * Setup the layout used by the controller.
  *
  * @return void
  */
 protected function setupLayout()
 {
     if (!is_null($this->layout)) {
         $this->layout = View::make($this->layout);
     }
 }