From bbfe15240b1434ef17b34bc9087e3753020f3baa Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 29 Oct 2012 20:55:27 -0400 Subject: [PATCH] fix instruments part of payload --- app/views/api_users/show.rabl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/api_users/show.rabl b/app/views/api_users/show.rabl index 7183ad3ac..fe20750eb 100644 --- a/app/views/api_users/show.rabl +++ b/app/views/api_users/show.rabl @@ -15,7 +15,7 @@ unless @user.bands.nil? || @user.bands.size == 0 end unless @user.instruments.nil? || @user.instruments.size == 0 - child :instruments => :instruments do - attributes :id, :description, :proficiency_level + child :user_instruments => :instruments do + attributes :description, :proficiency_level end end \ No newline at end of file