From 666344936e1f4da2585737b6f596a155eee4d952 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Thu, 4 Apr 2019 19:50:52 +0800 Subject: [PATCH] Simplify --- app/Exceptions/PrettyPageException.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Exceptions/PrettyPageException.php b/app/Exceptions/PrettyPageException.php index b74cbc86..a15a8c0f 100644 --- a/app/Exceptions/PrettyPageException.php +++ b/app/Exceptions/PrettyPageException.php @@ -4,11 +4,6 @@ namespace App\Exceptions; class PrettyPageException extends \Exception { - public function report() - { - return $this->render(); - } - public function render() { return response()->view('errors.pretty', ['code' => $this->code, 'message' => $this->message]);