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