middleware('auth'); $this->middleware('role:Admin'); } public function displayWallet() { $esi = new \App\Library\Finances(); //Get the Journal Entries and just return them $journals = $esi->GetMasterWalletJournal(); $journals = json_decode($journals->raw, true); dd($journals); return $journals; } }