Permalink
Browse files

redirect after create

  • Loading branch information...
1 parent af5f279 commit 476740c9e457539e667738f6227b61c960aabe3b @jzw jzw committed Jul 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/admin/product_imports_controller.rb
@@ -17,6 +17,6 @@ def create
@product_import = ProductImport.create(params[:product_import])
Delayed::Job.enqueue ImportProducts::ImportJob.new(@product_import, @current_user)
flash[:notice] = t('product_import_processing')
- render :new
+ redirect_to admin_product_imports_path
end
end

0 comments on commit 476740c

Please sign in to comment.