roughed in quiz GET views

This commit is contained in:
Mark Moser committed 2016-07-27 22:24:24 -05:00
1 parent 0d5ab42158
commit 5207b6b8fd
17 files changed
+288 -7

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
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