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

7 lines
227 B
Plaintext
Raw Normal View History

2015-10-17 17:28:57 +03:00
@speakers.each do |speaker|
json.set! speaker.id do
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