diff --git a/resources/views/dashboard/administration/settings.blade.php b/resources/views/dashboard/administration/settings.blade.php index fa67f9d..104b822 100644 --- a/resources/views/dashboard/administration/settings.blade.php +++ b/resources/views/dashboard/administration/settings.blade.php @@ -45,7 +45,10 @@
@foreach($options as $option)
- option_value == 1) ? 'checked' : '' }}> + + + + option_value == 1) ? 'checked' : '' }}>
@endforeach diff --git a/routes/web.php b/routes/web.php index d7f2522..b4a788f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -162,7 +162,7 @@ Route::group(['middleware' => ['auth', 'forcelogout', '2fa']], function(){ Route::get('settings', 'OptionsController@index') ->name('showSettings'); - Route::get('settings/save', 'OptionsController@saveSettings') + Route::post('settings/save', 'OptionsController@saveSettings') ->name('saveSettings'); Route::post('players/ban/{user}', 'BanController@insert')