Updated import data controller
This commit is contained in:
parent
6280fdfba0
commit
c8be884291
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue