Updated import controller

This commit is contained in:
saurabhbhatia 2013-09-16 11:06:07 +08:00
parent 50bb2a870c
commit d5357ea63c
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ class Admin::ImportDataController < OrbitBackendController
if b[:title].blank? if b[:title].blank?
@journal_paper.paper_title = "No Title Present" @journal_paper.paper_title = "No Title Present"
else else
@journal_paper.paper_title = b[:title] title = b[:title].gsub! /"/
@journal_paper.paper_title = title
end end
@journal_paper.year = b[:year] @journal_paper.year = b[:year]
@journal_paper.note = b[:remarks] @journal_paper.note = b[:remarks]