From 3375a41106948b750866e91b70b80177364e68e4 Mon Sep 17 00:00:00 2001 From: manson666 Date: Mon, 30 Dec 2013 14:26:00 +0800 Subject: [PATCH] Fix sync auto --- app/controllers/admin/import_data_controller.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index 2cc28143..2660df84 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -550,12 +550,12 @@ end end end - respond_to do |format| + # respond_to do |format| - format.html - format.json { render json: {"success"=>true}.to_json} + # format.html + # format.json { render json: {"success"=>true}.to_json} - end + # end end end @@ -683,12 +683,12 @@ def sync_book_data_auto end end end - respond_to do |format| + # respond_to do |format| - format.html - format.json { render json: {"success"=>true}.to_json} + # format.html + # format.json { render json: {"success"=>true}.to_json} - end + # end end end