mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
no validate for editor update
This commit is contained in:
parent
178334ec9b
commit
75a8975941
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ end
|
||||||
|
|
||||||
post '/site/:username/set_editor_theme' do
|
post '/site/:username/set_editor_theme' do
|
||||||
require_login
|
require_login
|
||||||
current_site.update editor_theme: params[:editor_theme]
|
current_site.editor_theme = params[:editor_theme]
|
||||||
|
current_site.save_changes validate: false
|
||||||
'ok'
|
'ok'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue