From 1a79c2fed3a287d29e76ec05ba528eaf1a7e2468 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