2016-07-27 22:16:12 -05:00
|
|
|
class CandidateController < ApplicationController
|
|
|
|
def welcome
|
|
|
|
end
|
|
|
|
|
|
|
|
def question
|
2016-07-27 22:53:14 -05:00
|
|
|
@question = Question.order("RAND()").first # .where(input_type: 'live-coder')
|
2016-07-27 22:16:12 -05:00
|
|
|
@status = QuizStatus.new(Candidate.order("RAND()").first)
|
|
|
|
@answer = @question.answers.order("RAND()").first
|
|
|
|
end
|
|
|
|
|
|
|
|
def summary
|
|
|
|
end
|
|
|
|
|
|
|
|
def thankyou
|
|
|
|
end
|
|
|
|
|
|
|
|
def saved
|
|
|
|
end
|
|
|
|
end
|