Allow to edit OrderArticle in Order#receive form

This commit is contained in:
Julius 2013-12-30 14:34:26 +01:00 committed by wvengen
parent 81dfe8110c
commit cf1e68f11d
6 changed files with 66 additions and 3 deletions

View file

@ -126,6 +126,12 @@ class OrdersController < ApplicationController
redirect_to @order
end
end
def receive_on_order_article_update # See publish/subscribe design pattern in /doc.
@order_article = OrderArticle.find(params[:order_article_id])
render :layout => false
end
protected