fix error caused by no title saved.
This commit is contained in:
parent
9774ddc17b
commit
8491ec8283
|
@ -24,9 +24,9 @@
|
|||
</td>
|
||||
<td>
|
||||
<% if b.expired? || (b.category.disable rescue false)%>
|
||||
<%= b.title.html_safe %>
|
||||
<%= b.title.to_s.html_safe %>
|
||||
<% else %>
|
||||
<a href="<%= page_for_bulletin(b) %>" target="_blank"><%= b.title.html_safe %></a>
|
||||
<a href="<%= page_for_bulletin(b) %>" target="_blank"><%= b.title.to_s.html_safe %></a>
|
||||
<% end %>
|
||||
|
||||
<% if b.expired? %>
|
||||
|
|
Loading…
Reference in New Issue