Allow to edit OrderArticle in Order#receive form
This commit is contained in:
parent
81dfe8110c
commit
cf1e68f11d
6 changed files with 66 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue