From 1efb3103d97d489ed32cf9c12077ad8715ef277d Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 29 Apr 2015 11:17:29 +0000 Subject: [PATCH] Remove `respond_to` usage in playlists controller This feature was deprecated by rails. --- app/controllers/api/playlists_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/playlists_controller.rb b/app/controllers/api/playlists_controller.rb index 89d0881..8f83019 100644 --- a/app/controllers/api/playlists_controller.rb +++ b/app/controllers/api/playlists_controller.rb @@ -1,7 +1,5 @@ module API class PlaylistsController < ApplicationController - respond_to :json - def index @playlists = Playlist.all end