Allowing SharedSuppliers to have multiple Suppliers. Should fix bennibu#107.
This commit is contained in:
parent
53518039f1
commit
c194d2545f
3 changed files with 4 additions and 4 deletions
|
|
@ -213,7 +213,7 @@ class ArticlesController < ApplicationController
|
|||
|
||||
# fills a form whith values of the selected shared_article
|
||||
def import
|
||||
@article = SharedArticle.find(params[:shared_article_id]).build_new_article
|
||||
@article = SharedArticle.find(params[:shared_article_id]).build_new_article(@supplier)
|
||||
render :action => 'new', :layout => false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue