use birthday as text.

This commit is contained in:
Maxwell Salzberg 2012-04-26 15:01:43 -07:00
parent 6d2cd31e73
commit fe87b38bf2

View file

@ -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