server/src/app/Http/Controllers/HomeController.php
changeset 1 01a844d292ac
child 2 00e2916104fe
equal deleted inserted replaced
0:279124b91971 1:01a844d292ac
       
     1 <?php namespace App\Http\Controllers;
       
     2 
       
     3 class HomeController extends Controller {
       
     4 
       
     5 	/*
       
     6 	|--------------------------------------------------------------------------
       
     7 	| Home Controller
       
     8 	|--------------------------------------------------------------------------
       
     9 	|
       
    10 	| This controller renders your application's "dashboard" for users that
       
    11 	| are authenticated. Of course, you are free to change or remove the
       
    12 	| controller as you wish. It is just here to get your app started!
       
    13 	|
       
    14 	*/
       
    15 
       
    16 	/**
       
    17 	 * Create a new controller instance.
       
    18 	 *
       
    19 	 * @return void
       
    20 	 */
       
    21 	public function __construct()
       
    22 	{
       
    23 		$this->middleware('auth');
       
    24 	}
       
    25 
       
    26 	/**
       
    27 	 * Show the application dashboard to the user.
       
    28 	 *
       
    29 	 * @return Response
       
    30 	 */
       
    31 	public function index()
       
    32 	{
       
    33 		return view('home');
       
    34 	}
       
    35 
       
    36 }