phpvms/app/Http/Controllers/Frontend/DashboardController.php

24 lines
463 B
PHP
Raw Normal View History

2017-06-10 04:07:29 +08:00
<?php
namespace App\Http\Controllers\Frontend;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\AppBaseController;
class DashboardController extends AppBaseController
2017-06-10 04:07:29 +08:00
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
2017-08-03 12:07:36 +08:00
\Event::fire('test.event');
return $this->view('dashboard.index', [
'user' => Auth::user(),
]);
2017-06-22 05:24:19 +08:00
}
2017-06-10 04:07:29 +08:00
}