diff options
Diffstat (limited to 'views/index.erb')
-rw-r--r-- | views/index.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/index.erb b/views/index.erb index d1454ea..c2cee2c 100644 --- a/views/index.erb +++ b/views/index.erb @@ -9,7 +9,7 @@ <a href="<%= h list %>/" class="list-group-item"> <span class="fa fa-fw fa-archive"></span> <%= h list %> - <span class="badge"><%= get_message_count(list) %></span> + <span class="badge"><%= MessageCountCache.instance[list] %></span> </a> <% end %> </div> @@ -32,7 +32,7 @@ <a href="<%= h list %>/" class="list-group-item"> <span class="fa fa-fw fa-archive"></span> <%= h list %> - <span class="badge"><%= get_message_count(list) %></span> + <span class="badge"><%= MessageCountCache.instance[list] %></span> </a> <% end %> </div> |