2020-05-14 16:27:36 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
|
|
|
json.extract! profile, :id, :name, :country, :picture
|
|
|
|
json.url profile_path(profile)
|
2020-05-14 17:03:58 +00:00
|
|
|
json.pic_tiny url_for(profile.picture_by_size(:tiny)) if profile.picture.attached?
|