Beispiel #1
0
 /**
  * Helper: Make a view.
  *
  * @param $view
  * @return string
  * @throws \Sectorr\Core\Exceptions\ViewNotFoundException
  */
 function view($view, $data = [])
 {
     return View::make($view, $data);
 }
Beispiel #2
0
 public function index()
 {
     return View::make('home');
 }