Skip to content

Commit

Permalink
Fix the URL in the tracker atom feed
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Apr 14, 2011
1 parent 3ba7867 commit b432803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ GEM
simple_autocomplete (0.3.8)
sitemap_generator (1.5.2)
spork (0.8.4)
state_machine (0.10.3)
state_machine (0.10.4)
subexec (0.0.4)
thin (1.2.11)
daemons (>= 1.0.9)
Expand Down
2 changes: 1 addition & 1 deletion app/views/trackers/comments.atom.builder
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ atom_feed(:root_url => trackers_url) do |feed|

@comments.each do |comment|
tracker = comment.node.content
feed.entry(comment, :url => "http://#{MY_DOMAIN}/suivi/#{tracker.to_param}#comment-#{comment.id}") do |entry|
feed.entry(comment, :url => "#{tracker_url tracker}#comment-#{comment.id}") do |entry|
entry.title("##{tracker.id} : #{comment.title}")
title = content_tag(:h2, "Entrée du suivi : #{tracker.title}")
entry.content(title + comment.body, :type => 'html')
Expand Down

0 comments on commit b432803

Please sign in to comment.