1
0
Fork 0
mirror of https://github.com/neocities/neocities.git synced 2025-09-14 18:26:18 +02:00

no validate for editor update

This commit is contained in:
Kyle Drake 2014-12-25 19:28:30 -06:00
commit 75a8975941

View file

@ -30,7 +30,8 @@ end
post '/site/:username/set_editor_theme' do
require_login
current_site.update editor_theme: params[:editor_theme]
current_site.editor_theme = params[:editor_theme]
current_site.save_changes validate: false
'ok'
end