This commit is contained in:
Pig Fang 2019-04-04 19:50:52 +08:00
parent d309f8fbbf
commit 666344936e

View File

@ -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]);