diff --git a/index.html b/index.html index f788f9b..bb79e7a 100755 --- a/index.html +++ b/index.html @@ -205,6 +205,7 @@
Triggering Errors
Route Parameters
Route::get('foo/{bar}', function($bar){});
 Route::get('foo/{bar?}', function($bar = 'bar'){});
+Route::get('foo/{bar}', [Controller::class, 'methodIndex']);
                 
HTTP Verbs