Remove respond_to
usage in playlists controller
This feature was deprecated by rails.
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
module API
|
module API
|
||||||
class PlaylistsController < ApplicationController
|
class PlaylistsController < ApplicationController
|
||||||
respond_to :json
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@playlists = Playlist.all
|
@playlists = Playlist.all
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user