26 lines
368 B
PHP
26 lines
368 B
PHP
|
|
<?php namespace App\Http\Controllers;
|
||
|
|
|
||
|
|
class DashboardController extends Controller {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create a new controller instance.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function __construct()
|
||
|
|
{
|
||
|
|
$this->middleware('auth');
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Show the application dashboard to the user.
|
||
|
|
*
|
||
|
|
* @return Response
|
||
|
|
*/
|
||
|
|
public function index()
|
||
|
|
{
|
||
|
|
return view('dashboard');
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|