aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
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