Files
openfoodnetwork/app/controllers
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-06-23 09:08:04 +09:00
2022-01-26 19:58:39 +00:00
2022-01-26 19:58:39 +00:00