I am having a bit of trouble with the routing.
I\'m working on a CMS, and i need two primary routes. /admin
and /(:any)
. The admin
Route::get("{path}", "SomeController@serve")->where('path', '.+');
The above code will capture the recursive sub urls you mentioned:
/
/something
/something/something
/something/something/something
/something/something/something/something
Any other special cases, such as admin/*, you can capture before this one.