Commit c76217baadf05c4a696bbf53fa4439d69718ae22

Authored by Pius Uzamere
1 parent fa9c5642

fixed typo

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 show! do |format|
157 157 format.xml { render :xml => @prompt.to_xml(:methods => [:left_choice_text, :right_choice_text])}
158 158 format.json { render :json => @prompt.to_json(:methods => [:left_choice_text, :right_choice_text])}
... ...