Make IssueObserver handle issus, not MailerObserver

This commit is contained in:
Robb Kidd 2012-05-21 13:30:53 -04:00
parent 356430c3c0
commit 6617eaaf9b
6 changed files with 64 additions and 21 deletions

View file

@ -68,6 +68,10 @@ class Issue < ActiveRecord::Base
def is_being_closed?
closed_changed? && closed
end
def is_being_reopened?
closed_changed? && !closed
end
end
# == Schema Information
#