From 193535871f3d4e2690d457a63d34343cb2592104 Mon Sep 17 00:00:00 2001 From: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:30:50 +0100 Subject: [PATCH] Allow LegacyPlugin Pages to receive all parameters (#13519) --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 52602e5056..94108eef94 100644 --- a/routes/web.php +++ b/routes/web.php @@ -83,7 +83,7 @@ Route::group(['middleware' => ['auth'], 'guard' => 'auth'], function () { Route::get('plugin', 'PluginLegacyController@redirect'); Route::redirect('plugin/view=admin', '/plugin/admin'); Route::get('plugin/p={pluginName}', 'PluginLegacyController@redirect'); - Route::any('plugin/v1/{plugin:plugin_name}', 'PluginLegacyController')->name('plugin.legacy'); + Route::any('plugin/v1/{plugin:plugin_name}/{other?}', 'PluginLegacyController')->where('other', '(.*)')->name('plugin.legacy'); Route::get('plugin/{plugin:plugin_name}', 'PluginPageController')->name('plugin.page'); // old route redirects