correct previous commit

This commit is contained in:
Sam Saffron 2016-01-06 20:33:55 +11:00
parent 9f4efed03a
commit bfcb0a52bb

View File

@ -43,6 +43,8 @@ class Notification < ActiveRecord::Base
.update_all("read = 't'")
user.publish_notifications_state if count > 0
count
end
def self.interesting_after(min_date)