Commit b4955bb0afeed27f7360f0630e55e5dcb427839b

Authored by Pius Uzamere
1 parent 8162c807

hot fix for votes_count

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/choices_controller.rb
... ... @@ -24,7 +24,7 @@ class ChoicesController < InheritedResources::Base
24 24  
25 25 def show
26 26 show! do |format|
27   - format.xml { render :xml => @choice.to_xml(:methods => [:item_data, :votes_count, :wins_plus_losses])}
  27 + format.xml { render :xml => @choice.to_xml(:methods => [:item_data, :wins_plus_losses])}
28 28 format.json { render :json => @choice.to_json(:methods => [:data])}
29 29 end
30 30 end
... ...