diff --git a/app/controllers/personal_patents_controller.rb b/app/controllers/personal_patents_controller.rb index 161a68b..da65294 100644 --- a/app/controllers/personal_patents_controller.rb +++ b/app/controllers/personal_patents_controller.rb @@ -3,7 +3,7 @@ class PersonalPatentsController < ApplicationController patents = Patent.where(:is_hidden=>false).all patent_list = patents.collect do |patent| { - "publication_date" => patent.publication_date, + "publication_date" => patent.publish_date, "patent_title" => patent.patent_title, "patent_no" => patent.patent_no, "patent_country" => patent.patent_country, @@ -14,12 +14,12 @@ class PersonalPatentsController < ApplicationController { "patents" => patent_list, "extras" => { - "widget-title" => t("personal_patent.personal_patent"), + "widget-title" => t("module_name.personal_patent"), "th_publication_date" => t('personal_patent.publication_date'), - "th_patent_title" => t("personal_patent.paper_patent_title"), + "th_patent_title" => t("personal_patent.patent_title"), "th_patent_no" => t('personal_patent.patent_no'), - "th_patent_country" => t("personal_patent.paper_patent_country"), - "th_authors" => t('user.name') + "th_patent_country" => t("personal_patent.patent_country"), + "th_authors" => t('users.name') } } end