mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-24 01:03:46 +02:00
Initial implementation of option scripts on panel side.
This commit is contained in:
@@ -434,6 +434,14 @@ class AdminRoutes
|
||||
'as' => 'admin.services.option.variables.edit',
|
||||
'uses' => 'Admin\OptionController@editVariable',
|
||||
]);
|
||||
|
||||
$router->get('/option/{id}/scripts', [
|
||||
'as' => 'admin.services.option.scripts',
|
||||
'uses' => 'Admin\OptionController@viewScripts',
|
||||
]);
|
||||
|
||||
$router->post('/option/{id}/scripts', 'Admin\OptionController@updateScripts');
|
||||
|
||||
});
|
||||
|
||||
// Service Packs
|
||||
|
||||
Reference in New Issue
Block a user