Sha256: 27ea4a5c93da408c4fe8a35b3623169af583bd4e16872cf52ee3c6572c19a253

Contents?: true

Size: 824 Bytes

Versions: 8

Compression:

Stored size: 824 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

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

json.partial! 'ishapi/orders/show', :order => @current_order

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ishapi-0.1.8.74 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.69 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.68 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.67 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.66 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.65 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.64 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.63 app/views/ishapi/users/show.jbuilder