fix instruments part of payload

This commit is contained in:
Brian Smith 2012-10-29 20:55:27 -04:00
parent 2fa2c22e6d
commit bbfe15240b
1 changed files with 2 additions and 2 deletions

View File

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