diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-17 17:34:32 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-17 17:34:32 +0000 |
commit | a3044438caa594a826e49bb08b745c093bcb51cc (patch) | |
tree | d8f6ed15fa730807e3c2c5c119d1184892fcdc4c /app/controllers/events_controller.rb | |
parent | 86916794341f20b26b9a321f1e15f9521f94a618 (diff) |
Ghetto weekend table colouring
Diffstat (limited to 'app/controllers/events_controller.rb')
-rw-r--r-- | app/controllers/events_controller.rb | 2 |
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 |