Don't destroy budgets with an associated poll

We were getting an exception due to foreign key database violations.
This commit is contained in:
Javi Martín
2019-05-09 22:46:52 +02:00
parent 9c991297c5
commit 1b323383a8
4 changed files with 14 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ en:
destroy:
success_notice: Budget deleted successfully
unable_notice: You cannot destroy a budget that has associated investments
unable_notice_polls: You cannot destroy a budget that has an associated poll
new:
title: New participatory budget
winners: