Update personal_conferences_controller.rb

This commit is contained in:
chiu 2019-08-14 17:52:07 +08:00
parent c7eb3a2a93
commit 84cede56c3
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class PersonalConferencesController < ApplicationController
"isi_number" , "isi_number" ,
"language" "language"
] ]
@fields_to_show = @fields_to_show.map{|fs| (fs.to_s!="period" ? [t("personal_conference.#{fs}"), fs] : [t(fs), fs]) } @fields_to_show = @fields_to_show.map{|fs| [t("personal_conference.#{fs}"), fs] }
@default_fields_to_show = [ @default_fields_to_show = [
"authors", "authors",
"paper_title", "paper_title",