From d5357ea63cf0d13bb6d9afe068a0260d1a15fc63 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Mon, 16 Sep 2013 11:06:07 +0800 Subject: [PATCH] Updated import controller --- app/controllers/admin/import_data_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index 2205a1792..0718df9bf 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -184,7 +184,8 @@ class Admin::ImportDataController < OrbitBackendController if b[:title].blank? @journal_paper.paper_title = "No Title Present" else - @journal_paper.paper_title = b[:title] + title = b[:title].gsub! /"/ + @journal_paper.paper_title = title end @journal_paper.year = b[:year] @journal_paper.note = b[:remarks]