From abf6594b31d45e152948cb99c329d5bf84d2018c Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 17 Oct 2015 23:34:35 +0300 Subject: [PATCH] Return the user id for speakers --- app/views/api/speakers/index.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/speakers/index.jbuilder b/app/views/api/speakers/index.jbuilder index f547474..e6e07b5 100644 --- a/app/views/api/speakers/index.jbuilder +++ b/app/views/api/speakers/index.jbuilder @@ -1,5 +1,5 @@ @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.picture speaker.picture.serializable_hash end