fix error
This commit is contained in:
parent
36b8502168
commit
5b8cdfd69b
|
@ -168,7 +168,7 @@ class Bulletin
|
||||||
end
|
end
|
||||||
end.compact
|
end.compact
|
||||||
end
|
end
|
||||||
reach_limit
|
reach_limit.length>0 ? false : true
|
||||||
end
|
end
|
||||||
def set_expire
|
def set_expire
|
||||||
self.expirable_created_at = Time.now if self.is_preview
|
self.expirable_created_at = Time.now if self.is_preview
|
||||||
|
|
Loading…
Reference in New Issue