diff --git a/workbench/resources/views/errors/418.blade.php b/workbench/resources/views/errors/418.blade.php new file mode 100644 index 0000000..8fee966 --- /dev/null +++ b/workbench/resources/views/errors/418.blade.php @@ -0,0 +1 @@ +I'm a teapot diff --git a/workbench/routes/web.php b/workbench/routes/web.php index 54f8fcd..3289daa 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -19,3 +19,6 @@ Route::view('/testbench', 'workbench::testbench')->name('testbench'); Route::text('/hello-world', 'Hello world'); +Route::get('/root', function () { + abort(418); +});