aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorAlban Peignier2016-05-13 11:56:54 +0200
committerAlban Peignier2016-05-13 11:56:54 +0200
commit6e28e49262ede9c57a6c5726570a4921f4b63d04 (patch)
tree31a26a03e2c1dd3af796c9854918d112ad6e97c8 /config/routes.rb
parent781142afdb90bb0ca62783435f582725794f4f57 (diff)
downloadchouette-core-6e28e49262ede9c57a6c5726570a4921f4b63d04.tar.bz2
Refactor models and controllers to manage Lines in LineReferential. Refs #825
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 19cb60538..60318aeb0 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -43,7 +43,10 @@ ChouetteIhm::Application.routes.draw do
end
resources :stop_area_referentials
- resources :line_referentials, :only => [:show]
+ resources :line_referentials, :only => [:show] do
+ resources :lines
+ resources :group_of_lines
+ end
resources :referentials do
resources :api_keys