Return the user id for speakers
This commit is contained in:
parent
536c139e84
commit
abf6594b31
|
@ -1,5 +1,5 @@
|
||||||
@speakers.each do |speaker|
|
@speakers.each do |speaker|
|
||||||
json.set! speaker.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
|
||||||
json.picture speaker.picture.serializable_hash
|
json.picture speaker.picture.serializable_hash
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue