-<%= image_tag trace_icon_url(description.user, description.id) %>
-<% if description.size -%>
-<%= t ".description_with_count", :count => description.size, :user => description.user.display_name %>
+<%= image_tag trace_icon_url(trace.user, trace) %>
+<% if trace.size -%>
+<%= t ".description_with_count", :count => trace.size, :user => trace.user.display_name %>
<% else -%>
-<%= t ".description_without_count", :user => description.user.display_name %>
+<%= t ".description_without_count", :user => trace.user.display_name %>
<% end -%>
xml.guid show_trace_url(trace.user, trace)
xml.description do
- xml.cdata! render(:partial => "description", :object => trace, :formats => [:html])
+ xml.cdata! render(:partial => "description", :object => trace, :as => "trace", :formats => [:html])
end
xml.dc :creator, trace.user.display_name