<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -24,13 +24,13 @@ Comments for all articles
     &lt;span class=&quot;meta&quot;&gt;
       &lt;cite&gt;&amp;mdash; &lt;%= author_link_for comment %&gt;&lt;%= %( (#{comment.author_email})) unless comment.author_email.blank? %&gt; said &lt;%=  time_ago_in_words comment.created_at %&gt; ago&lt;/cite&gt;
     
-    &lt;%= link_to_remote 'Edit', :url =&gt; edit_article_comment_path(@article, comment), :method =&gt; :get %&gt; |
+    &lt;%= link_to_remote 'Edit', :url =&gt; edit_article_comment_path(comment.article, comment), :method =&gt; :get %&gt; |
     &lt;% if comment.approved? -%&gt;
-      &lt;%= link_to_remote 'Unapprove', :url =&gt; unapprove_article_comment_path(@article, comment) %&gt; | 
+      &lt;%= link_to_remote 'Unapprove', :url =&gt; unapprove_article_comment_path(comment.article, comment) %&gt; | 
     &lt;% else -%&gt;
-      &lt;%= link_to_remote 'Approve',   :url =&gt; approve_article_comment_path(@article, comment) %&gt; | 
+      &lt;%= link_to_remote 'Approve',   :url =&gt; approve_article_comment_path(comment.article, comment) %&gt; | 
     &lt;% end -%&gt;
-      &lt;%= link_to_remote 'Delete',    :url =&gt; article_comment_path(@article, comment), :method =&gt; :delete %&gt;
+    &lt;%= link_to_remote 'Delete',    :url =&gt; article_comment_path(comment.article, comment), :method =&gt; :delete %&gt;
     &lt;/span&gt;
   &lt;/li&gt;
   &lt;% end -%&gt;
@@ -62,4 +62,4 @@ Comments for all articles
   if(comment) Element.addClassName(comment, 'focused');
   
 // ]]&gt;
-&lt;/script&gt;
\ No newline at end of file
+&lt;/script&gt;</diff>
      <filename>app/views/admin/comments/index.rhtml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>628cbde5cdced976670e81a55a71f8d25f123b2d</id>
    </parent>
  </parents>
  <author>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </author>
  <url>http://github.com/halorgium/mephisto/commit/96cdc957653159c24ebf59a5096bcde6554ba58f</url>
  <id>96cdc957653159c24ebf59a5096bcde6554ba58f</id>
  <committed-date>2008-03-04T10:37:54-08:00</committed-date>
  <authored-date>2008-03-04T10:37:54-08:00</authored-date>
  <message>Fix problem with URLs on the moderate comments page.

The URLs to the Ajax actions were wrong because the article's ID wasn't present.  Instead of using @article (which is nil in this case), use the comment's article.</message>
  <tree>d9c59c8f7caeba2d4f0503e424f3763252b67878</tree>
  <committer>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </committer>
</commit>
