fixed live-coder answer issues
This commit is contained in:
1 parent
ab8d983e62
commit
f4be785b61
3 files changed
+7
-5
No files matched your search
@@ -18,7 +18,7 @@ class CandidateController < ApplicationController
|
||||
redirect_to :summary and return if qid.nil?
|
||||
|
||||
prep_question qid
|
||||
@answer = Answer.new
|
||||
@answer = @question.answer.nil? ? Answer.new : Answer.find(@question.answer_id)
|
||||
end
|
||||
|
||||
def update_answer
|
||||
|
||||
Reference in new issue
Block a user