Skip to content

Commit

Permalink
Elimina aportes al eliminar persona. Closes #263
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Apr 22, 2024
1 parent 6f031b1 commit 2bdfd16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/msip/personas_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def destroy
Msip::PersonaTrelacion.where(persona1: @registro.id).delete_all
Msip::PersonaTrelacion.where(persona2: @registro.id).delete_all
end
Aporte.where(persona_id: @registro.id).delete_all
destroy_gen
end

Expand Down

0 comments on commit 2bdfd16

Please sign in to comment.