mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-15 06:09:58 +08:00
Simplify
This commit is contained in:
parent
d309f8fbbf
commit
666344936e
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user