Add ability to change server name, closes #563

This commit is contained in:
Dane Everitt 2018-03-10 14:44:21 -06:00
parent e55d3c1a9a
commit f8e98e9c9e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 156 additions and 3 deletions

View file

@ -19,11 +19,12 @@ 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('/name', 'Settings\NameController@index')->name('server.settings.name');
Route::get('/sftp', 'Settings\SftpController@index')->name('server.settings.sftp');
Route::get('/startup', 'Settings\StartupController@index')->name('server.settings.startup');
Route::patch('/allocation', 'Settings\AllocationController@update');
Route::patch('/name', 'Settings\NameController@update');
Route::patch('/startup', 'Settings\StartupController@update');
});