clarion/app/views/api/speakers/index.jbuilder

7 lines
232 B
Plaintext
Raw Normal View History

2015-10-17 17:28:57 +03:00
@speakers.each do |speaker|
2015-10-17 23:34:35 +03:00
json.set! speaker.user_id do
2015-10-17 17:28:57 +03:00
json.extract! speaker, :twitter, :github, :biography, :public_email, :organisation, :last_name, :first_name
json.picture speaker.picture.serializable_hash
end
2015-10-08 02:34:19 +03:00
end