Skip to content

Commit

Permalink
Fix bookmark link in Atom feed, as mentionned at http://linuxfr.org/s…
Browse files Browse the repository at this point in the history
  • Loading branch information
David Moreau committed Mar 22, 2018
1 parent e9e4678 commit 2551d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/bookmarks/_bookmark.atom.builder
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
url = polymorphic_url([bookmark.owner, bookmark])
feed.entry(bookmark, :url => url) do |entry|
entry.title(bookmark.title)
entry.content("#{link_to bookmark.link}".html_safe + atom_comments_link(url), :type => 'html')
entry.content("#{link_to bookmark.link, bookmark.link}".html_safe + atom_comments_link(url), :type => 'html')
entry.author do |author|
author.name(bookmark.owner.name)
end
Expand Down

0 comments on commit 2551d36

Please sign in to comment.