Error yang biasa muncul bila link di aplikasi Laravel anda tidak ditemukan “Whoops, looks like something went wrong.” Cara untuk mengganti pesan tersebut, buka file app/Exceptions/Handler.php, ganti bagian public function render($request, Exception $e) { return parent::render($request, $e); } menjadi public function render($request, Exception $e) { if ($e instanceof \ErrorException) { return response()->view(’errors.500′, [], 500); } […]
Tag: Belajar Laravel 5
Posted inPHP