Commit 9cad138ce264d055ea58b702715a60dcdf7053b1
1 parent
c76217ba
Exists in
master
and in
1 other branch
hotfix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/prompts_controller.rb
... | ... | @@ -50,7 +50,7 @@ class PromptsController < InheritedResources::Base |
50 | 50 | |
51 | 51 | logger.info "#{current_user.inspect} is voting #{direction}." |
52 | 52 | @question = Question.find(params[:question_id]) |
53 | - @prompt = @question.prompts.find(params[:id], :include => :choices) | |
53 | + @prompt = @question.prompts.find(params[:id]) | |
54 | 54 | case direction |
55 | 55 | when :left |
56 | 56 | successful = c = current_user.record_vote(params['params']['auto'], @prompt, 0) | ... | ... |