... 24 25 26 27 28 29 30 31 32 33 34 35 36 ... 62 63 64 65 66 |
... 24 25 26 27 28 29 30 31 32 33 34 35 36 ... 62 63 64 65 66 |
0 @@ -24,13 +24,13 @@ Comments for all articles 0 <cite>— <%= author_link_for comment %><%= %( (#{comment.author_email})) unless comment.author_email.blank? %> said <%= time_ago_in_words comment.created_at %> ago</cite> 0 - <%= link_to_remote 'Edit', :url => edit_article_comment_path(@article, comment), :method => :get %> | 0 + <%= link_to_remote 'Edit', :url => edit_article_comment_path(comment.article, comment), :method => :get %> | 0 <% if comment.approved? -%> 0 - <%= link_to_remote 'Unapprove', :url => unapprove_article_comment_path(@article, comment) %> | 0 + <%= link_to_remote 'Unapprove', :url => unapprove_article_comment_path(comment.article, comment) %> | 0 - <%= link_to_remote 'Approve', :url => approve_article_comment_path(@article, comment) %> | 0 + <%= link_to_remote 'Approve', :url => approve_article_comment_path(comment.article, comment) %> | 0 - <%= link_to_remote 'Delete', :url => article_comment_path(@article, comment), :method => :delete %> 0 + <%= link_to_remote 'Delete', :url => article_comment_path(comment.article, comment), :method => :delete %> 0 @@ -62,4 +62,4 @@ Comments for all articles 0 if(comment) Element.addClassName(comment, 'focused'); 0 \ No newline at end of file
|
Comments
No one has commented yet.