Some improvements
This commit is contained in:
@@ -8,8 +8,8 @@ class ContestsController < ApplicationController
|
||||
|
||||
def show
|
||||
@title = @contest.name
|
||||
@contestants = @contest.contestants
|
||||
@puzzles = @contest.puzzles
|
||||
@contestants = @contest.contestants.order(:name)
|
||||
@puzzles = @contest.puzzles.order(:id)
|
||||
set_badges
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user