Apply publish/subscribe for OrderArticle#create
This commit is contained in:
parent
5349ee142e
commit
59c118a171
6 changed files with 35 additions and 3 deletions
|
|
@ -30,6 +30,12 @@ class Finance::BalancingController < Finance::BaseController
|
|||
render layout: false if request.xhr?
|
||||
end
|
||||
|
||||
def new_on_order_article_create # See publish/subscribe design pattern in /doc.
|
||||
@order_article = OrderArticle.find(params[:order_article_id])
|
||||
|
||||
render :layout => false
|
||||
end
|
||||
|
||||
def new_on_order_article_update # See publish/subscribe design pattern in /doc.
|
||||
@order_article = OrderArticle.find(params[:order_article_id])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue