Implement track/index action for API
This commit is contained in:
5
app/controllers/api/tracks_controller.rb
Normal file
5
app/controllers/api/tracks_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Api::TracksController < Api::ApplicationController
|
||||
def index
|
||||
@tracks = Track.all
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user