Implement track/index action for API

This commit is contained in:
Thibault Jouan
2012-03-19 19:16:20 +00:00
parent fc1ec120ae
commit 9b9e17e591
5 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class Api::TracksController < Api::ApplicationController
def index
@tracks = Track.all
end
end