diff --git a/app/controllers/api/playlists_controller.rb b/app/controllers/api/playlists_controller.rb index 1a7c2a5..9009b73 100644 --- a/app/controllers/api/playlists_controller.rb +++ b/app/controllers/api/playlists_controller.rb @@ -12,6 +12,7 @@ module API def create @playlist = current_user.playlists.build playlist_params @playlist.save + render :show end def update diff --git a/app/views/api/playlists/create.rabl b/app/views/api/playlists/create.rabl deleted file mode 100644 index 002dfce..0000000 --- a/app/views/api/playlists/create.rabl +++ /dev/null @@ -1,4 +0,0 @@ -object @playlist - -attribute :id -attribute :name