mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
adjust permanently remove
This commit is contained in:
1 parent
48a82b1d49
commit
35a2aba887
4 files changed
+4
-4
No files matched your search
@@ -61,7 +61,7 @@ class SubmissionsController < ApplicationController
|
||||
|
||||
def destroy
|
||||
notice =
|
||||
if params[:permanently].present?
|
||||
if params[:permanently].in?(['true', true])
|
||||
@submission.destroy!
|
||||
|
||||
I18n.t('submission_has_been_removed')
|
||||
|
||||
Reference in new issue
Block a user