diff --git a/vendor/built_in_modules/announcement/init.rb b/vendor/built_in_modules/announcement/init.rb index cb1b9fb63..8c0ad1b9d 100644 --- a/vendor/built_in_modules/announcement/init.rb +++ b/vendor/built_in_modules/announcement/init.rb @@ -37,7 +37,7 @@ module Announcement image :image field :postdate link_field :title,{:method => 'panel_announcement_front_end_bulletin_path',:args=>:self} - link_field :bulletin_category_with_title,{:method => 'panel_announcement_front_end_bulletins_path',:args=>{:category_id => [:bulletin_category,:id]}} + link_field :bulletin_category_with_title,{:method => 'panel_announcement_front_end_bulletins_path',:args=>{:category_id => [:category,:id]}} field :subtitle link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'more_plus' end diff --git a/vendor/built_in_modules/faq/init.rb b/vendor/built_in_modules/faq/init.rb index 85d119130..0ad54fc9c 100644 --- a/vendor/built_in_modules/faq/init.rb +++ b/vendor/built_in_modules/faq/init.rb @@ -27,7 +27,7 @@ module Faq default_widget do query 'Qa.all' # enable ['typeA'] - link_field :qa_category_with_title,{:method => 'panel_faq_front_end_qas_path',:args=>{:category_id => [:qa_category,:id]}} + link_field :qa_category_with_title,{:method => 'panel_faq_front_end_qas_path',:args=>{:category_id => [:category,:id]}} link_field :title, {:method => 'panel_faq_front_end_qa_path',:args=>:self} link_to_more 'panel_faq_front_end_qas_path',:title_i18n=> 'faq.default_widget.to_more' end