From ffa37883187408525b527de7e79b35e3eee203c7 Mon Sep 17 00:00:00 2001 From: Raj kamani <35796349+RajKamani@users.noreply.github.com> Date: Fri, 2 Oct 2020 12:57:07 +0530 Subject: [PATCH] added New Routing parameters --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index f788f9b..bb79e7a 100755 --- a/index.html +++ b/index.html @@ -205,6 +205,7 @@
Route::get('foo/{bar}', function($bar){}); Route::get('foo/{bar?}', function($bar = 'bar'){}); +Route::get('foo/{bar}', [Controller::class, 'methodIndex']);