phpvms/app/Http/Controllers/Frontend/DashboardController.php
2017-08-02 23:07:36 -05:00

24 lines
463 B
PHP

<?php
namespace App\Http\Controllers\Frontend;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\AppBaseController;
class DashboardController extends AppBaseController
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
\Event::fire('test.event');
return $this->view('dashboard.index', [
'user' => Auth::user(),
]);
}
}