Add default description, which points to comments
This commit is contained in:
parent
b6b8a0d7ca
commit
ba284f7f29
|
@ -17,6 +17,8 @@
|
|||
<% if story.markeddown_description.present? %>
|
||||
<description><%= raw coder.encode(story.markeddown_description,
|
||||
:decimal) %></description>
|
||||
<% else %>
|
||||
<description><%= cdata_section(link_to("Comments", story.comments_url)) %></description>
|
||||
<% end %>
|
||||
<% story.taggings.each do |tagging| %>
|
||||
<category><%= tagging.tag.tag %></category>
|
||||
|
|
Loading…
Reference in a new issue