mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Allow LegacyPlugin Pages to receive all parameters (#13519)
This commit is contained in:
parent
7e98e03338
commit
193535871f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user