Fix wrong partial path in Ajax::AnswerController#create
This commit is contained in:
parent
45b11bddfd
commit
b22c7d358c
|
@ -57,7 +57,7 @@ class Ajax::AnswerController < AjaxController
|
|||
unless inbox
|
||||
# this assign is needed because shared/_answerbox relies on it, I think
|
||||
@question = 1
|
||||
@response[:render] = render_to_string(partial: 'shared/answerbox', locals: { a: answer, show_question: false })
|
||||
@response[:render] = render_to_string(partial: 'answerbox', locals: { a: answer, show_question: false })
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue