aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorcedricnjanga2017-12-19 16:21:06 +0100
committerLuc Donnet2017-12-21 13:55:49 +0100
commit43f8c76522288a0328d520dfc753ed173fc84964 (patch)
treee067ae1f57fb34a5a82425b1e278507ccfdba4ae /config/routes.rb
parent723bee2cafff84c0b948f85ed450408d6cbc866a (diff)
downloadchouette-core-43f8c76522288a0328d520dfc753ed173fc84964.tar.bz2
BusinessCalendar => PurchaseWindow
belongs_to referential
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 b4191da0f..c231e0bf7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -99,8 +99,6 @@ ChouetteIhm::Application.routes.draw do
resources :networks
end
- resources :business_calendars
-
resources :calendars do
get :autocomplete, on: :collection, controller: 'autocomplete_calendars'
end
@@ -173,6 +171,8 @@ ChouetteIhm::Application.routes.draw do
resources :companies, controller: "referential_companies"
+ resources :purchase_windows
+
resources :time_tables do
collection do
get :tags