fix error

This commit is contained in:
邱博亞 2022-03-17 15:51:31 +08:00
parent 36b8502168
commit 5b8cdfd69b
1 changed files with 1 additions and 1 deletions

View File

@ -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