add not found for no result

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-25 13:58:09 +08:00
1 parent 98fd9223a8
commit 25f4e292e6
3 files changed
+8

No files matched your search

@@ -25,6 +25,9 @@
<td><%= display_date(post.postdate) %></td>
</tr>
<% end %>
<% if @news_bulletins.blank? %>
<%=render :partial => 'shared/search_not_found' %>
<% end %>
</tbody>
</table>