json API for suseconferenceclient

This commit is contained in:
Ancor Gonzalez Sosa 2013-07-08 10:07:12 +02:00
parent d648ab7cb5
commit d95d8f234b
12 changed files with 159 additions and 8 deletions

View file

@ -56,7 +56,16 @@ Osem::Application.routes.draw do
namespace :api, defaults: {format: 'json'} do
namespace :v1 do
resources :conferences, :only => :index
resources :conferences, :only => :index do
resources :rooms, :only => :index
resources :tracks, :only => :index
resources :speakers, :only => :index
resources :events, :only => :index
end
resources :rooms, :only => :index
resources :tracks, :only => :index
resources :speakers, :only => :index
resources :events, :only => :index
end
end