forked from bofh/fetsite
Fetprofiles verbesserung Calentry upcoming
This commit is contained in:
@@ -18,5 +18,5 @@ class Calentry < ActiveRecord::Base
|
||||
def name
|
||||
summary
|
||||
end
|
||||
|
||||
scope :upcoming, -> { where("start >= ?" , Time.now).where("start <= ?", 8.days.from_now) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user