aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 238217099..a424bd8de 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,6 +6,16 @@ ChouetteIhm::Application.routes.draw do
devise_for :users
namespace :api do
+ namespace :kml do
+ resources :referentials do
+ resources :stop_areas, :only => [:index, :show]
+ resources :lines, :only => [:index, :show] do
+ resources :routes, :only => [:index, :show]
+ end
+ end
+ end
+ end
+ namespace :api do
namespace :v1 do
resources :time_tables, :only => [:index, :show]
resources :connection_links, :only => [:index, :show]