Add longer intro texts

This commit is contained in:
Charlotte Van Petegem 2025-05-26 19:04:20 +02:00
parent f4106b9fb6
commit 0c39e527b2
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E
6 changed files with 69 additions and 7 deletions

View file

@ -2,7 +2,7 @@ class SectionsController < ApplicationController
def index
@sections = Section.all.order(id: :asc)
@extensions = Extension.all.order(id: :asc)
@deadline = Time.zone.local(2025, 7, 8, 0, 0, 0)
@deadline = Time.zone.local(2025, 7, 8, 23, 59, 59)
@extensions.each do |e|
@deadline = e.affect_deadline(@deadline)
end