Update personal_conferences_controller.rb

This commit is contained in:
chiu 2019-08-14 14:17:48 +08:00
parent 87a65a93fa
commit e3c84bf11a
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class PersonalConferencesController < ApplicationController
t << {"value" => "<a href='#{OrbitHelper.url_to_show(writing_conference.to_param)}'>#{writing_conference.create_link}</a>"}
end
when "paper_levels"
t << {"value" => ( !writing_conference.conference_paper_levels.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)}
t << {"value" => "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})"}
when "paper_types"
t << {"value" => ( !writing_conference.conference_paper_types.blank? ? "(#{writing_conference.conference_paper_types.collect{|x| x.title}.join(', ')})" : nil)}
when "publication_date"