Sha256: b5d8516221f03d393849bb11ec41885ea96deb27984cf4bce9c5b6429b830042

Contents?: true

Size: 620 Bytes

Versions: 1

Compression:

Stored size: 620 Bytes

Contents

json.id                @profile.id
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?

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

1 entries across 1 versions & 1 rubygems

Version Path
ishapi-0.1.8.171 app/views/ishapi/users/_account.jbuilder