From fe87b38bf2281e3caba4a486a4aec03a138fd376 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Thu, 26 Apr 2012 15:01:43 -0700 Subject: [PATCH] use birthday as text. --- app/controllers/profiles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 44accba4a..30b974a90 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -16,7 +16,7 @@ class ProfilesController < ApplicationController respond_to do |format| format.json { render :json => @person.as_api_response(:backbone).merge({ :location => @person.profile.location, - :birthday => @person.profile.birthday, + :birthday => @person.profile.birthday.to_formatted_s(:long) , }) } end end