/** * Display a listing of the resource. * * @return Response */ public function index() { if ($unauth = $this->unauth()) { return $unauth; } $logs = Log::get(); $this->json_or_dd($logs->toArray()); }