Commit a37711fb103ffcb24ae70614f33adeb91494083b

Authored by Nathan Broadbent
1 parent bd0691a7
Exists in master and in 1 other branch production

Typo

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
app/models/notice.rb
... ... @@ -114,7 +114,7 @@ class Notice
114 114 end
115 115  
116 116 def remove_cached_attributes_from_problem
117   - problem.remove_cached_notice_attribures(self) if err
  117 + problem.remove_cached_notice_attributes(self) if err
118 118 end
119 119  
120 120 def unresolve_problem
... ...
app/models/problem.rb
... ... @@ -153,7 +153,7 @@ class Problem
153 153 update_attributes!(attrs)
154 154 end
155 155  
156   - def remove_cached_notice_attribures(notice)
  156 + def remove_cached_notice_attributes(notice)
157 157 update_attributes!(
158 158 :messages => attribute_count_descrease(:messages, notice.message),
159 159 :hosts => attribute_count_descrease(:hosts, notice.host),
... ...