diff --git a/app/controllers/cars_controller.rb b/app/controllers/cars_controller.rb index b4fcd0a9..231c1d12 100644 --- a/app/controllers/cars_controller.rb +++ b/app/controllers/cars_controller.rb @@ -187,7 +187,7 @@ def import else format.html { render :new, :status => :unprocessable_entity } format.json { render :json => car.errors, :status => :unprocessable_entity, :layout => false } - end and return + end end end end