20 lines
353 B
Ruby
20 lines
353 B
Ruby
class CandidateController < ApplicationController
|
|
def welcome
|
|
end
|
|
|
|
def question
|
|
@question = Question.where(input_type: 'live-coder').order("RAND()").first
|
|
@status = QuizStatus.new(Candidate.order("RAND()").first)
|
|
@answer = @question.answers.order("RAND()").first
|
|
end
|
|
|
|
def summary
|
|
end
|
|
|
|
def thankyou
|
|
end
|
|
|
|
def saved
|
|
end
|
|
end
|