fix for tag blacklists, typo fixes

This commit is contained in:
albert
2013-02-17 02:19:33 -05:00
parent 5ac578adf3
commit 2b0857a3cd
7 changed files with 16 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<tags type="array">
<% @tags.each do |tag| %>
<tag name="<%= tag.name %>" id="<%= tag.id %>" ambiguous="false" created_at="<%= tag.created_at.strftime('%Y-%m-%d %H:%M') %>" count="<%= tag.post_count %>" type="<%= tag.category %>"></user>
<tag name="<%= tag.name %>" id="<%= tag.id %>" ambiguous="false" created_at="<%= tag.created_at.try(:strftime, '%Y-%m-%d %H:%M') %>" count="<%= tag.post_count %>" type="<%= tag.category %>"></user>
<% end %>
</tags>