diff --git a/app/models/bulletin.rb b/app/models/bulletin.rb index 44e8e0c..eb7a61f 100644 --- a/app/models/bulletin.rb +++ b/app/models/bulletin.rb @@ -168,7 +168,7 @@ class Bulletin end end.compact end - reach_limit + reach_limit.length>0 ? false : true end def set_expire self.expirable_created_at = Time.now if self.is_preview