Refactor playlists views

This commit is contained in:
Thibault Jouan 2015-05-04 00:53:08 +00:00
parent 562b57a900
commit 7a28b01287
2 changed files with 1 additions and 4 deletions

View File

@ -12,6 +12,7 @@ module API
def create
@playlist = current_user.playlists.build playlist_params
@playlist.save
render :show
end
def update

View File

@ -1,4 +0,0 @@
object @playlist
attribute :id
attribute :name