Sha256: 5529c3acf2ff8eae22fe62cb9f58e4ba5898972fe53ab6c1a4f77f1ec1af70f0

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

#
# ishapi / users / _show.jbuilder
#

json.email                @current_profile.email
json.about                @current_profile.about
json.lang                 @current_profile.lang
json.name                 @current_profile.name
json.fb_long_access_token @current_profile.fb_long_access_token
json.expires_in           @current_profile.fb_expires_in

if @current_profile.current_city
  json.current_city_id @current_profile.current_city_id.to_s
  json.current_city    @current_profile.current_city
end

if @current_profile.addresses[0]
  json.partial! 'ishapi/addresses/show', :address => @current_profile.addresses[0]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ishapi-0.1.8.58 app/views/ishapi/users/show.jbuilder