Commit cd65ef1f12f77fa1aad66ce0f7b5fe8a33adac22

Authored by Dhruv Kapadia
1 parent 0e03ea33

Adding information to support graph on AOI

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/choices_controller.rb
... ... @@ -27,7 +27,7 @@ class ChoicesController < InheritedResources::Base
27 27 end
28 28 end
29 29 index! do |format|
30   - format.xml { render :xml => @choices.to_xml(:only => [ :data, :score, :id, :active], :methods => :user_created)}
  30 + format.xml { render :xml => @choices.to_xml(:only => [ :data, :score, :id, :active, :created_at, :wins, :losses], :methods => :user_created)}
31 31 end
32 32  
33 33 end
... ...