Sha256: 30f327880798089e9fd7b1ccd94b3a81ee48e5b843664d7e5c97b998d35bb297

Contents?: true

Size: 676 Bytes

Versions: 13

Compression:

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

13 entries across 13 versions & 1 rubygems

Version Path
ishapi-0.1.8.185 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.184 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.183 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.182 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.181 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.180 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.178 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.177 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.176 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.175 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.174 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.173 app/views/ishapi/users/_account.jbuilder
ishapi-0.1.8.172 app/views/ishapi/users/_account.jbuilder