Use RABL to build JSON responses given by API
This commit is contained in:
@@ -3,6 +3,5 @@ class Api::V0::PlaylistsController < Api::ApplicationController
|
||||
|
||||
def index
|
||||
@playlists = Playlist.all
|
||||
respond_with @playlists
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user