Skip to content

Commit

Permalink
Use the snip ID in the atom feed.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Jun 1, 2008
1 parent f783a8c commit 6737813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/dynasnips/kind.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def render_entry_in_template(snip, as, kind)
e.content = rendered_contents
e.title = snip.name
e.links << Atom::Link.new(:href => Vanilla::Routes.link_to(snip.name))
e.id = "tag:#{domain},#{(snip.created_at || "").split[0]}:#{snip.name}"
e.id = "tag:#{domain},#{snip.id}:#{snip.name}"
end
end
end
Expand Down

0 comments on commit 6737813

Please sign in to comment.