From dd138da1a6389b76b2bee296cd502e076e522919 Mon Sep 17 00:00:00 2001 From: Julius Date: Wed, 1 Jan 2014 23:54:01 +0100 Subject: [PATCH] Change comment according to 9d61e2e61569159489098eda1bd6c30d7322ce76 --- app/controllers/order_articles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/order_articles_controller.rb b/app/controllers/order_articles_controller.rb index 9fc340a8..32e13693 100644 --- a/app/controllers/order_articles_controller.rb +++ b/app/controllers/order_articles_controller.rb @@ -11,7 +11,7 @@ class OrderArticlesController < ApplicationController def create @order = Order.find(params[:order_id]) - # The article may with zero units ordered - in that case find and set amount to nonzero. + # The article may be ordered with zero units - in that case do not complain. # If order_article is ordered and a new order_article is created, an error message will be # given mentioning that the article already exists, which is desired. @order_article = @order.order_articles.where(:article_id => params[:order_article][:article_id]).first