WIP: first prototype of the JSON API.

* Tests not included, so I cannot prove that it works
This commit is contained in:
Ancor Gonzalez Sosa 2013-07-04 14:02:50 +02:00
parent 83b10447f4
commit 27017a4823
6 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,7 @@
class Api::V1::ConferencesController < Api::BaseController
respond_to :json
def index
respond_with Conference.all
end
end