Add support for changing the server default allocation as a normal user
This commit is contained in:
parent
5a3428f0a0
commit
d50ea18598
14 changed files with 308 additions and 68 deletions
|
@ -18,9 +18,11 @@ Route::get('/console', 'ConsoleController@console')->name('server.console');
|
|||
|
|
||||
*/
|
||||
Route::group(['prefix' => 'settings'], function () {
|
||||
Route::get('/allocation', 'Settings\AllocationController@index')->name('server.settings.allocation');
|
||||
Route::patch('/allocation', 'Settings\AllocationController@update');
|
||||
|
||||
Route::get('/sftp', 'ServerController@getSFTP')->name('server.settings.sftp');
|
||||
Route::get('/startup', 'ServerController@getStartup')->name('server.settings.startup');
|
||||
Route::get('/allocation', 'ServerController@getAllocation')->name('server.settings.allocation');
|
||||
|
||||
Route::post('/sftp', 'ServerController@postSettingsSFTP');
|
||||
Route::post('/startup', 'ServerController@postSettingsStartup');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue