adjust permanently remove

This commit is contained in:
Pete Matsyburka
2024-12-13 13:31:54 +02:00
parent 48a82b1d49
commit 35a2aba887
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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')