Files
openfoodnetwork/app
Gaetan Craig-Riou f225cd78df Handle unique voucher code exception
Rails validation doesn't handle unique validation for soft deleted
object. So we rescue the exception raise by the database and display
a nice error message. We don't want an enterprise to be able to reuse
a code in case the voucher get reactivated.
2023-09-07 15:13:47 +02:00
..
2023-08-03 14:52:45 +01:00
2023-04-14 16:19:21 +10:00
2023-08-03 14:52:45 +01:00
2023-08-20 13:00:36 +09:00
2023-08-22 11:40:58 +10:00