aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorLuc Donnet2017-12-05 17:28:25 +0100
committerGitHub2017-12-05 17:28:25 +0100
commit9f1aa4d40d7d968963dae5799e15ad5da4cbcbc5 (patch)
treeca3ab17437207e04b7aabaca313078b0f4327163 /config/routes.rb
parente66e96516094151f352b14b0dca6e6994e7eb4d0 (diff)
parentb0bf768dfc1b977bcc758ba974cdd1494d7bab56 (diff)
downloadchouette-core-9f1aa4d40d7d968963dae5799e15ad5da4cbcbc5.tar.bz2
Merge pull request #132 from af83/5127_new_api_endpoints
Refs #5127 Add two new endpoints to the API
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8ea8168bf..65fa62557 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -64,9 +64,10 @@ ChouetteIhm::Application.routes.draw do
resources :stop_areas, only: [:index, :show]
resources :time_tables, only: [:index, :show]
resources :vehicle_journeys, only: :show
- patch 'compliance_check_sets/:id',
- to: 'compliance_check_sets#validated',
- as: 'compliance_check_set'
+ namespace :internals do
+ get 'compliance_check_sets/:id/notify_parent', to: 'compliance_check_sets#notify_parent'
+ get 'netex_imports/:id/notify_parent', to: 'netex_imports#notify_parent'
+ end
end
end