diff --git a/app/views/errs/_table.html.haml b/app/views/errs/_table.html.haml
index cea95cc..7cbee28 100644
--- a/app/views/errs/_table.html.haml
+++ b/app/views/errs/_table.html.haml
@@ -34,7 +34,7 @@
%em= truncate(comment.body, :length => 100, :separator => ' ')
%td.latest #{time_ago_in_words(last_notice_at problem)} ago
%td.deploy= problem.last_deploy_at ? problem.last_deploy_at.to_s(:micro) : 'n/a'
- %td.count= link_to problem.notices.count, app_err_path(problem.app, problem)
+ %td.count= link_to problem.notices_count, app_err_path(problem.app, problem)
- if any_issue_links
%td.issue_link
- if problem.issue_link.present?
diff --git a/app/views/issue_trackers/pivotal_body.txt.erb b/app/views/issue_trackers/pivotal_body.txt.erb
index e10b497..5c9e6bd 100644
--- a/app/views/issue_trackers/pivotal_body.txt.erb
+++ b/app/views/issue_trackers/pivotal_body.txt.erb
@@ -3,7 +3,7 @@ See this exception on Errbit: <%= app_err_url problem.app, problem %>
<% if notice.request['url'].present? %>URL: <%= notice.request['url'] %><% end %>
Where: <%= notice.where %>
Occurred: <%= notice.created_at.to_s :micro %>
- Similar: <%= (notice.problem.notices.count - 1).to_s %>
+ Similar: <%= (notice.problem.notices_count - 1).to_s %>
Params:
<%= pretty_hash notice.params %>
--
libgit2 0.21.2