Save display times in the db
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
class ContestantsController < ApplicationController
|
||||
include CompletionsConcern
|
||||
|
||||
before_action :set_contest
|
||||
before_action :set_contestant, only: %i[ destroy edit update]
|
||||
before_action :set_completions, only: %i[edit update ]
|
||||
@@ -61,8 +59,6 @@ class ContestantsController < ApplicationController
|
||||
|
||||
def set_completions
|
||||
@completions = @contestant.completions.order(:time_seconds)
|
||||
extend_completions!(@completions)
|
||||
@completions
|
||||
end
|
||||
|
||||
def contestant_params
|
||||
|
||||
Reference in New Issue
Block a user