diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/info_request_event.rb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb index 09eba31ab..024ae97a1 100644 --- a/app/models/info_request_event.rb +++ b/app/models/info_request_event.rb @@ -363,16 +363,11 @@ class InfoRequestEvent < ActiveRecord::Base end def is_sent_sort? - if [ 'sent', 'resent'].include?(self.event_type) - return true - end - return false + ['sent', 'resent'].include?(event_type) end + def is_followup_sort? - if [ 'followup_sent', 'followup_resent'].include?(self.event_type) - return true - end - return false + ['followup_sent', 'followup_resent'].include?(event_type) end def same_email_as_previous_send? |