middleware('auth:user'); } /** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { // dd(json_decode(auth()->user()->permissions(),true)); return view('dashboard.index'); } }