From d89e90b8f7cbcfc783c00f2feb167f13b72455f4 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Mon, 23 Dec 2013 10:34:24 +0800 Subject: [PATCH] Display Bulletin Category on the Search Result Page --- .../announcement/front_end/bulletins/search_result.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/search_result.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/search_result.html.erb index df681869..4193025b 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/search_result.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/search_result.html.erb @@ -20,7 +20,7 @@ <% @bulletins.each do |post| %> - <%= post.bulletin_category.title rescue nil %> + <%= post.category.title rescue nil %> <%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.category_id) %> <%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>