diff options
Diffstat (limited to 'views/indexentry.erb')
-rw-r--r-- | views/indexentry.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/indexentry.erb b/views/indexentry.erb index 6028ec9..ba6a2cf 100644 --- a/views/indexentry.erb +++ b/views/indexentry.erb @@ -18,7 +18,7 @@ <th>Subject</th> <th class="ag-mostrecent-table-author">Author</th> </tr> - <% most_recent(list, 5).each do |message| %> + <% MostRecentMessagesCache.instance[list].each do |message| %> <tr> <td><a href="/<%= list %>/message/<%= message['_id'] %>"><%= h message['_source']['subject'] %></a></td> <td><%= h message['_source']['from_realname'] %></td> |