Return the user id for speakers

This commit is contained in:
Petko Bordjukov 2015-10-17 23:34:35 +03:00
parent 536c139e84
commit abf6594b31
1 changed files with 1 additions and 1 deletions

View File

@ -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