Update Master
This commit is contained in:
@@ -10,9 +10,10 @@ class SummaryDashboardController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
// if (!Gate::allows('super_admin') && !Gate::allows('admin')) {
|
||||
// abort(403);
|
||||
// }
|
||||
return view('dashboard.summary');
|
||||
if (!Gate::allows('super_admin') && !Gate::allows('admin')) {
|
||||
abort(403);
|
||||
}
|
||||
$title = 'Summary Dashboard';
|
||||
return view('dashboard.summary', compact('title'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user