mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
refactor toggles form
This commit is contained in:
1 parent
6c73c82a27
commit
4603efc04e
4 files changed
+39
-30
No files matched your search
@@ -26,7 +26,7 @@ class TemplatesPreferencesController < ApplicationController
|
||||
authorize!(:update, @template)
|
||||
|
||||
config_key = params[:config_key]
|
||||
preferences_to_delete = RESETTABLE_PREFERENCE_KEYS[config_key] || []
|
||||
preferences_to_delete = RESETTABLE_PREFERENCE_KEYS[config_key]
|
||||
|
||||
return head :ok if preferences_to_delete.blank?
|
||||
|
||||
|
||||
Reference in new issue
Block a user