From c8be884291e222b15eca5e474faf88f096663da5 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Wed, 11 Sep 2013 13:33:06 +0800 Subject: [PATCH] Updated import data controller --- app/controllers/admin/import_data_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index 5b58e3122..e223c5472 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -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]