app/controllers/comable/orders_controller.rb in comable-frontend-0.6.0 vs app/controllers/comable/orders_controller.rb in comable-frontend-0.7.0.beta1

- old
+ new

@@ -30,10 +30,10 @@ def create @order.next_state! flash.now[:notice] = Comable.t('orders.success') send_order_complete_mail - rescue ActiveRecord::RecordInvalid + rescue ActiveRecord::RecordInvalid, Comable::PaymentError flash[:alert] = @order.errors.full_messages.join redirect_to next_order_path end private