2018-10-15 07:00:48 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
2018-11-02 11:54:46 +01:00
|
|
|
|
2019-03-28 22:34:58 +01:00
|
|
|
class DashboardController extends BaseController
|
2018-10-15 07:00:48 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Create a new controller instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct()
|
|
|
|
{
|
2018-10-29 04:16:17 +01:00
|
|
|
$this->middleware('auth:user');
|
|
|
|
|
2018-10-15 07:00:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the application dashboard.
|
|
|
|
*
|
|
|
|
* @return \Illuminate\Http\Response
|
|
|
|
*/
|
|
|
|
public function index()
|
|
|
|
{
|
2019-01-07 12:30:28 +01:00
|
|
|
// dd(json_decode(auth()->user()->permissions(),true));
|
2018-11-27 07:59:16 +01:00
|
|
|
return view('dashboard.index');
|
2018-10-15 07:00:48 +02:00
|
|
|
}
|
2018-10-16 13:42:43 +02:00
|
|
|
|
2018-10-17 14:26:27 +02:00
|
|
|
|
2018-10-15 07:00:48 +02:00
|
|
|
}
|