Commit 71862c805e63df931ff67611db2c211a4af84c91
1 parent
e333fbea
Exists in
master
and in
1 other branch
Remove unnecessary call
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/questions_controller.rb
@@ -107,7 +107,7 @@ class QuestionsController < InheritedResources::Base | @@ -107,7 +107,7 @@ class QuestionsController < InheritedResources::Base | ||
107 | show! do |format| | 107 | show! do |format| |
108 | session['prompts_ids'] ||= [] | 108 | session['prompts_ids'] ||= [] |
109 | format.xml { | 109 | format.xml { |
110 | - render :xml => @question.to_xml(:methods => [:item_count, :votes_count]) | 110 | + render :xml => @question.to_xml(:methods => [:item_count]) |
111 | } | 111 | } |
112 | end | 112 | end |
113 | end | 113 | end |