aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-17 17:34:32 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-17 17:34:32 +0000
commita3044438caa594a826e49bb08b745c093bcb51cc (patch)
treed8f6ed15fa730807e3c2c5c119d1184892fcdc4c /app/controllers
parent86916794341f20b26b9a321f1e15f9521f94a618 (diff)
Ghetto weekend table colouring
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/events_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index 62708a5..d9e390a 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -4,6 +4,8 @@ class EventsController < ApplicationController
# GET /events or /events.json
def index
@events = Event.all.order(date: :asc)
+ @january_dates = Date.new(2023, 01, 01)..Date.new(2023, 01, 31)
+ render "index"
end
# GET /events/1 or /events/1.json