Sha256: fe2ef53b7c5790b99c61fc6b876553a9c4a1479377229153e285f7c07017159a

Contents?: true

Size: 816 Bytes

Versions: 109

Compression:

Stored size: 816 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.measurement
  json.partial! 'ishapi/measurements/show', :measurement => @current_profile.measurement
end

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

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
ishapi-0.1.8.79 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.78 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.77 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.76 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.75 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.73 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.72 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.71 app/views/ishapi/users/show.jbuilder
ishapi-0.1.8.70 app/views/ishapi/users/show.jbuilder