diff -r 01a844d292ac -r 00e2916104fe server/src/app/Http/Controllers/HomeController.php --- a/server/src/app/Http/Controllers/HomeController.php Mon Jun 15 19:30:32 2015 +0200 +++ b/server/src/app/Http/Controllers/HomeController.php Tue Jun 23 17:01:39 2015 +0200 @@ -1,36 +1,35 @@ -middleware('auth'); - } + /** + * Create a new controller instance. + */ + public function __construct() + { + $this->middleware('auth'); + } - /** - * Show the application dashboard to the user. - * - * @return Response - */ - public function index() - { - return view('home'); - } - + /** + * Show the application dashboard to the user. + * + * @return Response + */ + public function index() + { + return view('home'); + } }