[fix] Fix function name
This commit is contained in:
parent
8e95325119
commit
4e1e9bdfbd
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ class Event < ApplicationRecord
|
||||||
time <=> other.time
|
time <=> other.time
|
||||||
end
|
end
|
||||||
|
|
||||||
def is_live?
|
def live?
|
||||||
time >= Time.now && Time.now <= time + event_type.length
|
time >= Time.now && Time.now <= time + event_type.length
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue