skill-assessment-app/app/controllers/candidate_controller.rb
2016-07-27 22:24:24 -05:00

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