mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
keep editor theme change on it's own post method
This commit is contained in:
parent
9975daca5c
commit
238844b723
1 changed files with 0 additions and 1 deletions
|
@ -316,7 +316,6 @@ post '/settings/change_editor_settings' do
|
||||||
owner.editor_font_size = params[:editor_font_size]
|
owner.editor_font_size = params[:editor_font_size]
|
||||||
owner.editor_keyboard_mode = params[:editor_keyboard_mode]
|
owner.editor_keyboard_mode = params[:editor_keyboard_mode]
|
||||||
owner.editor_tab_width = params[:editor_tab_width]
|
owner.editor_tab_width = params[:editor_tab_width]
|
||||||
owner.editor_theme = params[:editor_theme]
|
|
||||||
owner.save_changes validate: false
|
owner.save_changes validate: false
|
||||||
flash[:success] = 'Code editor settings have been updated.'
|
flash[:success] = 'Code editor settings have been updated.'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue