Fixed a TemplateError nil:NilClass (oracle specific) on _news.rhtml
git-svn-id: http://redmine.rubyforge.org/svn/trunk@486 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5db3396c07
commit
66fe12db71
|
@ -1,4 +1,4 @@
|
|||
<p><%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %><br />
|
||||
<% unless news.summary.empty? %><%=h news.summary %><br /><% end %>
|
||||
<% unless news.summary.blank? %><%=h news.summary %><br /><% end %>
|
||||
<em><%= news.author.name %>, <%= format_time(news.created_on) %></em><br />
|
||||
<%= news.comments_count %> <%= lwr(:label_comment, news.comments_count).downcase %><br /></p>
|
||||
|
|
Loading…
Reference in New Issue