From cd65ef1f12f77fa1aad66ce0f7b5fe8a33adac22 Mon Sep 17 00:00:00 2001 From: Dhruv Kapadia Date: Mon, 10 May 2010 11:10:21 -0400 Subject: [PATCH] Adding information to support graph on AOI --- app/controllers/choices_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/choices_controller.rb b/app/controllers/choices_controller.rb index 79daaa6..a77b29a 100644 --- a/app/controllers/choices_controller.rb +++ b/app/controllers/choices_controller.rb @@ -27,7 +27,7 @@ class ChoicesController < InheritedResources::Base end end index! do |format| - format.xml { render :xml => @choices.to_xml(:only => [ :data, :score, :id, :active], :methods => :user_created)} + format.xml { render :xml => @choices.to_xml(:only => [ :data, :score, :id, :active, :created_at, :wins, :losses], :methods => :user_created)} end end -- libgit2 0.21.2