24 lines
463 B
PHP
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(),
|
|
]);
|
|
}
|
|
}
|