Update personal_conferences_controller.rb

This commit is contained in:
chiu 2019-08-14 17:29:13 +08:00
parent c9c573fa55
commit 1744cc7cb1
1 changed files with 1 additions and 1 deletions

View File

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