Sha256: 435ed66d890c62ba9d578c7fb042b78225884095e859d89349efbec037cbf4d0

Contents?: true

Size: 690 Bytes

Versions: 4

Compression:

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ishapi-0.1.8.62 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.61 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.60 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.59 app/views/ishapi/users/show.jbuilder