Updated import data controller

This commit is contained in:
saurabhbhatia 2013-09-11 13:33:06 +08:00
parent 6280fdfba0
commit c8be884291
1 changed files with 2 additions and 2 deletions

View File

@ -129,9 +129,9 @@ class Admin::ImportDataController < OrbitBackendController
@conference_paper = WritingConference.new
@conference_paper.authors = b[:author]
if b[:title].blank?
@conference_paper.paper_title = b[:title]
else
@conference_paper.paper_title = "No Title Present"
else
@conference_paper.paper_title = b[:title]
end
@conference_paper.year = b[:year]
@conference_paper.note = b[:remarks]