Remove v0 version namespacing for API
This commit is contained in:
7
app/controllers/api/playlists_controller.rb
Normal file
7
app/controllers/api/playlists_controller.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Api::PlaylistsController < Api::ApplicationController
|
||||
respond_to :json
|
||||
|
||||
def index
|
||||
@playlists = Playlist.all
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user