diff --git a/app/controllers/donations_controller.rb b/app/controllers/donations_controller.rb index 0771597fac..c6c2966fc8 100644 --- a/app/controllers/donations_controller.rb +++ b/app/controllers/donations_controller.rb @@ -84,7 +84,7 @@ def update redirect_to donations_path rescue => e flash[:alert] = "Error updating donation: #{e.message}" - render "edit" + redirect_back(fallback_location: edit_donation_path) end def destroy