mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
make it possible to remove default signature
This commit is contained in:
1 parent
80a3ef9193
commit
7dc342a6f9
3 files changed
+9
-2
No files matched your search
@@ -28,6 +28,12 @@ class UserSignaturesController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
@user_config.destroy
|
||||
|
||||
redirect_to settings_profile_index_path, notice: 'Signature has been removed'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def load_user_config
|
||||
|
||||
Reference in new issue
Block a user