Sha256: 29e1d5795a66365c6e9f880558942a330d383f3cfdff997e27ce695a454abf47

Contents?: true

Size: 678 Bytes

Versions: 8

Compression:

Stored size: 678 Bytes

Contents

json.id                @profile.id.to_s
json.name              @profile.name
json.email             @profile.email
json.profile_photo_url @profile.profile_photo.photo.url( :thumb ) if @profile.profile_photo

json.n_reports     @profile.reports.count
json.n_galleries   @profile.galleries.count
json.n_videos      @profile.videos.count
# json.n_stars       @profile.n_stars # @TODO: which one is deprecated?
json.n_unlocks     @profile.n_unlocks # @TODO: which one is deprecated?
json.is_purchasing @profile.is_purchasing
if @profile.current_city
  json.current_city @profile.current_city
end

json.bookmarks @profile.bookmarks do |b|
  json.name b.name
  json.slug b.slug
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ishapi-0.1.8.194 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.193 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.192 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.191 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.190 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.189 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.188 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.187 app/views/ishapi/users/_account.jbuilder