Updated import controller
This commit is contained in:
parent
50bb2a870c
commit
d5357ea63c
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue