<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -126,6 +126,7 @@ class GroupsController &lt; ApplicationController
 
   def feed
     @group = Group.find_by_id(params[:id])
+    redirect_to :action =&gt; 'list' and return if @group.nil?
     @comments = @group.comments.find(:all, :order =&gt; &quot;created_at DESC&quot;, :limit =&gt; 10)
     # Send data
     headers[&quot;Content-Type&quot;] = &quot;application/atom+xml&quot;</diff>
      <filename>app/controllers/groups_controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b47222dbaa2a4cb7966f17b016a067cad4776492</id>
    </parent>
  </parents>
  <author>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </author>
  <url>http://github.com/Floppy/carbon-diet/commit/c2fee7afa517564fa70d1d49829b7f3ae00c8e26</url>
  <id>c2fee7afa517564fa70d1d49829b7f3ae00c8e26</id>
  <committed-date>2009-05-28T15:01:19-07:00</committed-date>
  <authored-date>2009-05-28T15:01:19-07:00</authored-date>
  <message>Fix groups/feed error when no group specified</message>
  <tree>af0f7e41ec293375db0c1000c11570bfcd34d2f6</tree>
  <committer>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </committer>
</commit>
