make it possible to remove default signature

This commit is contained in:
Pete Matsyburka committed 2024-01-05 22:48:55 +02:00
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