For errors, use handle_validation_failure, and correctly return 400 errors instead of redirecting. Use flash notices in the success cases.
34 KiB
34 KiB
For errors, use handle_validation_failure, and correctly return 400 errors instead of redirecting. Use flash notices in the success cases.