Skip to content

Commit bb1c88a

Browse files
author
jamesprior
committed
super in destroy! invokes the super's method. Probably not needed.
1 parent d309d9c commit bb1c88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cms/behaviors/soft_deleting.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def mark_as_deleted!
9191
end
9292

9393
def destroy!
94-
transaction { super.destroy }
94+
transaction { super }
9595
end
9696

9797
def destroyed?

0 commit comments

Comments
 (0)