Fix speaker picture and add name #53
|
@ -1,6 +1,6 @@
|
||||||
@speakers.each do |speaker|
|
@speakers.each do |speaker|
|
||||||
json.set! speaker.user_id do
|
json.set! speaker.user_id do
|
||||||
json.extract! speaker, :twitter, :github, :biography, :public_email, :organisation, :last_name, :first_name
|
json.extract! speaker, :twitter, :github, :biography, :public_email, :organisation, :last_name, :first_name, :name
|
||||||
json.picture speaker.picture.serializable_hash
|
json.picture rails_blob_url(speaker.picture.variant(resize_to_fill: [100, 100]))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue