Add completion: order contestants by name + add email if present
All checks were successful
CI / scan_ruby (push) Successful in 16s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 34s

This commit is contained in:
sto
2025-06-25 08:31:42 +02:00
parent c34b9654c8
commit 2cadc8eca5
4 changed files with 11 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ class CompletionsController < ApplicationController
end
def set_data
@contestants = @contest.contestants
@contestants = @contest.contestants.order(:name)
@puzzles = @contest.puzzles
end

View File

@@ -96,7 +96,7 @@ class MessagesController < ApplicationController
end
def set_data
@contestants = @contest.contestants
@contestants = @contest.contestants.order(:name)
@puzzles = @contest.puzzles
end
end