Permalink
Browse files

Fixing issue with current user in rss feed

  • Loading branch information...
1 parent d8b3550 commit aab2a99f51ad2d9f4893a28a405ff50a928b93fd Brandon Farmer committed Feb 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/tasks/feed.html.builder
@@ -10,9 +10,9 @@ xml.rss :version => "2.0" do
xml.title "Mark Task As Complete"
xml.description task.body
xml.pubDate task.created_at.to_s(:rfc822)
- xml.link url_for(:action => :destroy, :id => task.id, :key => @current_user.rss_key, :only_path => false)
+ xml.link url_for(:action => :destroy, :id => task.id, :key => User.current.rss_key, :only_path => false)
xml.guid task.id
end
end
end
-end
+end

0 comments on commit aab2a99

Please sign in to comment.