<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -536,13 +536,17 @@ class TodosController &lt; ApplicationController
   end
 
   def with_parent_resource_scope(&amp;block)
+    @feed_title = &quot;Actions &quot;
     if (params[:context_id])
       @context = current_user.contexts.find_by_params(params)
+      @feed_title = @feed_title + &quot;in context '#{@context.name}'&quot;
       Todo.send :with_scope, :find =&gt; {:conditions =&gt; ['todos.context_id = ?', @context.id]} do
         yield
       end
     elsif (params[:project_id])
       @project = current_user.projects.find_by_params(params)
+      @feed_title = @feed_title + &quot;in project '#{@project.name}'&quot;
+      @project_feed = true
       Todo.send :with_scope, :find =&gt; {:conditions =&gt; ['todos.project_id = ?', @project.id]} do
         yield
       end
@@ -718,7 +722,7 @@ class TodosController &lt; ApplicationController
       render_rss_feed_for @todos, :feed =&gt; todo_feed_options,
         :item =&gt; {
         :title =&gt; :description,
-        :link =&gt; lambda { |t| context_url(t.context) },
+        :link =&gt; lambda { |t| @project_feed.nil? ? context_url(t.context) : project_url(t.project) },
         :guid =&gt; lambda { |t| todo_url(t) },
         :description =&gt; todo_feed_content
       }
@@ -726,7 +730,9 @@ class TodosController &lt; ApplicationController
   end
     
   def todo_feed_options
-    Todo.feed_options(current_user)
+    options = Todo.feed_options(current_user)
+    options[:title] = @feed_title
+    return options
   end
 
   def todo_feed_content</diff>
      <filename>app/controllers/todos_controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5659b8adbb321311673611c53bf4af9de0f73c82</id>
    </parent>
  </parents>
  <author>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/ee3057185540408b54ed016712805fe08eba4956</url>
  <id>ee3057185540408b54ed016712805fe08eba4956</id>
  <committed-date>2008-11-29T11:32:39-08:00</committed-date>
  <authored-date>2008-11-29T11:32:39-08:00</authored-date>
  <message>fix #793 where the feed title is given more information about the content

also fixes project feed where the link in the feed points to the context of the todo instead of the project</message>
  <tree>6450edba20a218801d20508603340e8cc69e8d8c</tree>
  <committer>
    <name>Reinier Balt</name>
    <email>lrbalt@gmail.com</email>
  </committer>
</commit>
