use birthday as text.
This commit is contained in:
parent
6d2cd31e73
commit
fe87b38bf2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue