fix error

This commit is contained in:
chiu 2020-04-23 11:13:32 +08:00
parent 9b5fa52f6d
commit 07a1d9fc64
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class PersonalJournalsController < ApplicationController
'journal_papers' => journal_paper_list,
'headers' => headers,
'extras' => { 'widget-title' => t('module_name.journal_paper'),
'url' => '/' + params[:locale] + params[:url],
'url' => '/' + I18n.locale.to_s + params[:url],
'select_text' => select_text,
'search_text' => search_text,
'search_value' => params[:keywords] },