Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-11-02 11:15:36 +08:00
parent 955df1b9c7
commit 59afff7ea4
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ class PersonalJournalsController < ApplicationController
url url
] ]
@fields_to_show = @fields_to_show.map { |fs| [t("personal_journal.#{fs}"), fs] } @fields_to_show = @fields_to_show.map { |fs| [t("personal_journal.#{fs}"), fs] }
@fields_to_show << [t('personal_plugins.author'),'author']
@default_fields_to_show = %w[ @default_fields_to_show = %w[
paper_title paper_title
journal_title journal_title