eric98 /
Tasks
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * Taken from |
||
| 5 | * https://github.com/laravel/framework/blob/5.3/src/Illuminate/Auth/Console/stubs/make/controllers/HomeController.stub |
||
| 6 | */ |
||
| 7 | |||
| 8 | namespace App\Http\Controllers; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Class HomeController. |
||
| 12 | */ |
||
| 13 | class HomeController extends Controller |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Create a new controller instance. |
||
| 17 | * |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | public function __construct() |
||
| 21 | { |
||
| 22 | $this->middleware('auth'); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Show the application dashboard. |
||
| 27 | * |
||
| 28 | * @return Response |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 29 | */ |
||
| 30 | public function index() |
||
| 31 | { |
||
| 32 | return view('adminlte::home'); |
||
|
0 ignored issues
–
show
|
|||
| 33 | } |
||
| 34 | } |
||
| 35 |