Merge branch 'rails3' into rails3-to-master

Conflicts:
	app/views/suppliers/shared_suppliers.haml
This commit is contained in:
Benjamin Meichsner 2013-09-02 13:31:40 +02:00
commit 71e02ab569
6 changed files with 14 additions and 6 deletions

View file

@ -209,7 +209,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