Remove respond_to usage in playlists controller

This feature was deprecated by rails.
This commit is contained in:
Thibault Jouan 2015-04-29 11:17:29 +00:00
parent 2dc65f529b
commit 1efb3103d9

View File

@ -1,7 +1,5 @@
module API
class PlaylistsController < ApplicationController
respond_to :json
def index
@playlists = Playlist.all
end