for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Auth\Http\Controllers\Admin;
use Arcanesoft\Auth\Policies\DashboardPolicy;
/**
* Class DashboardController
*
* @package Arcanesoft\Auth\Http\Controllers\Foundation
* @author ARCANEDEV <[email protected]>
*/
class DashboardController extends Controller
{
/* -----------------------------------------------------------------
| Constructor
| -----------------------------------------------------------------
* Instantiate the controller.
public function __construct()
parent::__construct();
$this->setCurrentPage('auth-dashboard');
}
| Main Methods
public function index()
$this->authorize(DashboardPolicy::PERMISSION_STATS);
$this->setTitle($title = trans('auth::dashboard.titles.statistics'));
$this->addBreadcrumb($title);
return $this->view('admin.dashboard');