diff --git a/app/controllers/personal_patents_controller.rb b/app/controllers/personal_patents_controller.rb index 0476f33..5d4075b 100644 --- a/app/controllers/personal_patents_controller.rb +++ b/app/controllers/personal_patents_controller.rb @@ -99,7 +99,7 @@ class PersonalPatentsController < ApplicationController { 'patents' => patent_list, 'extras' => { 'widget-title' => t('module_name.personal_patent'), - 'url' => '/' + params[:locale] + params[:url], + 'url' => '/' + I18n.locale.to_s + params[:url], 'select_text' => select_text, 'search_text' => search_text, 'search_value' => params[:keywords].to_s.gsub(/\"/,''),