Commit 5074a801dbcd423adacd71f6e670c2133a318733
1 parent
0d8f0060
Exists in
master
and in
1 other branch
hot fix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/prompts_controller.rb
... | ... | @@ -152,7 +152,7 @@ class PromptsController < InheritedResources::Base |
152 | 152 | |
153 | 153 | def show |
154 | 154 | @question = Question.find(params[:question_id]) |
155 | - @prompt = @question.prompts.find(params[:id], :include => [{ :left_choice => :item }, { :right_choice => :item }]) | |
155 | + @prompt = @question.prompts.find(params[:id])#, :include => [{ :left_choice => :item }, { :right_choice => :item }]) | |
156 | 156 | format.xml { render :xml => @prompt.to_xml(:methods => [:left_choice_text, :right_choice_text])} |
157 | 157 | format.json { render :json => @prompt.to_json(:methods => [:left_choice_text, :right_choice_text])} |
158 | 158 | end | ... | ... |