mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Push changes that support creations of service packs and basic listing
This commit is contained in:
@@ -430,6 +430,32 @@ class AdminRoutes {
|
||||
]);
|
||||
});
|
||||
|
||||
// Service Packs
|
||||
$router->group([
|
||||
'prefix' => 'admin/services/packs',
|
||||
'middleware' => [
|
||||
'auth',
|
||||
'admin',
|
||||
'csrf'
|
||||
]
|
||||
], function () use ($router) {
|
||||
$router->get('/new/{option?}', [
|
||||
'as' => 'admin.services.packs.new',
|
||||
'uses' => 'Admin\PackController@new'
|
||||
]);
|
||||
$router->post('/new', [
|
||||
'uses' => 'Admin\PackController@create'
|
||||
]);
|
||||
$router->get('/for/{option}', [
|
||||
'as' => 'admin.services.packs.for',
|
||||
'uses' => 'Admin\PackController@list'
|
||||
]);
|
||||
$router->get('/edit/{pack}', [
|
||||
'as' => 'admin.services.packs.edit',
|
||||
'uses' => 'Admin\PackController@edit'
|
||||
]);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user