2017-06-10 04:07:29 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers\Frontend;
|
|
|
|
|
2017-08-03 02:13:08 +08:00
|
|
|
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');
|
2017-08-03 02:13:08 +08:00
|
|
|
return $this->view('dashboard.index', [
|
|
|
|
'user' => Auth::user(),
|
|
|
|
]);
|
2017-06-22 05:24:19 +08:00
|
|
|
}
|
2017-06-10 04:07:29 +08:00
|
|
|
}
|