From: Vincent Vanwaelscappel Date: Fri, 8 Oct 2021 16:56:16 +0000 (+0200) Subject: wip #4765 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6e4b9f9767402ccf4c508faa873e4eea6556ce38;p=odl.git wip #4765 --- diff --git a/routes/web.php b/routes/web.php index 3861b4c..43e944e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -7,7 +7,8 @@ Route::group([ 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], 'namespace' => '\App\Http\Controllers\Admin', ], function () { // custom admin routes - Route::get('test','ToolsController@index'); + Route::any('tools/{tool}/{args?}', 'ToolsController@index')->where(['args' => '.*']); }); +Route::get('test','ToolsController@index');