Sha256: d7ee2fd946aa34edfa212210c88d41e134e3c7d04c13c06d426c0c28a8ca3448
Contents?: true
Size: 467 Bytes
Versions: 8
Compression:
Stored size: 467 Bytes
Contents
<h2><%= _("Recent comments")%></h2> <ul class="recent"> <% for comment in Comment.find(:all, :limit => 5, :order => 'id DESC' ) %> <li> <h4><%= truncate(comment.author, :length => 20) %></h4> <div><%= link_to truncate(comment.body, :length => 20), :controller => "/admin/comments", :action => "show", :id => comment.id, :article_id => comment.article_id %></div> <p class="right"><%= time_ago_in_words(comment.created_at) %> ago</p> </li> <% end %> </ul>
Version data entries
8 entries across 8 versions & 1 rubygems