Added description and lyrics to radio API

This commit is contained in:
nelsonlaquet 2013-09-22 23:24:40 -05:00
parent a91d8cb259
commit 010836e69d

View file

@ -48,6 +48,8 @@
return Response::json([ return Response::json([
'id' => $track->id, 'id' => $track->id,
'title' => $track->title, 'title' => $track->title,
'description' => $track->description,
'lyrics' => $track->lyrics,
'user' => [ 'user' => [
'id' => $track->user->id, 'id' => $track->user->id,
'name' => $track->user->display_name, 'name' => $track->user->display_name,