Display Bulletin Category on the Search Result Page

This commit is contained in:
saurabhbhatia 2013-12-23 10:34:24 +08:00
parent 9573d18ea6
commit d89e90b8f7
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<% @bulletins.each do |post| %> <% @bulletins.each do |post| %>
<tr> <tr>
<td><%= post.bulletin_category.title rescue nil %></td> <td><%= post.category.title rescue nil %></td>
<td><%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.category_id) %> <td><%= 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) %> <%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>
</td> </td>