aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEdouard Maffert2016-09-09 10:50:13 +0200
committerEdouard Maffert2016-09-09 10:50:20 +0200
commita40c2468c762f039061e71f2e2ba03358e5183ec (patch)
tree04663389aa0707f7ee228c7619b20ef4baa2c758 /config/routes.rb
parent5e18276c5a01359f5b1e76146283e7b528aeed50 (diff)
downloadchouette-core-a40c2468c762f039061e71f2e2ba03358e5183ec.tar.bz2
dedicated view for LineReferential edit #1604
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index af466f640..25c3d4838 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -10,7 +10,7 @@ ChouetteIhm::Application.routes.draw do
authenticated :user do
root :to => 'referentials#index', as: :authenticated_root
end
-
+
unauthenticated :user do
target = 'devise/sessions#new'
@@ -55,7 +55,7 @@ ChouetteIhm::Application.routes.draw do
resources :stop_areas
end
- resources :line_referentials, :only => [:show, :update] do
+ resources :line_referentials, :only => [:show, :edit, :update] do
resources :lines
resources :group_of_lines
end