From 6e4b9f9767402ccf4c508faa873e4eea6556ce38 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 8 Oct 2021 18:56:16 +0200 Subject: [PATCH] wip #4765 --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); -- 2.39.5