Update personal_conferences_controller.rb

This commit is contained in:
chiu 2019-08-14 14:21:31 +08:00
parent 8f03e0aef1
commit 62517a8ef9
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.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)}
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"