diff options
| author | cedricnjanga | 2017-11-30 14:15:43 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2017-12-05 15:39:08 +0100 | 
| commit | 03df723a37dc53ab73fc6539a85c9a0c892e7c99 (patch) | |
| tree | cae942e3f51bc5c15db8b8bd00d2fc31b266e78c /config/routes.rb | |
| parent | bb5fc4ea0755c2b7fd16d31e9d31d2a0967fe5cb (diff) | |
| download | chouette-core-03df723a37dc53ab73fc6539a85c9a0c892e7c99.tar.bz2 | |
Refs #5127 Add two new endpoints to the API
ComplianceCheckSet#notify_parent
NetexImport#notify_parent
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/config/routes.rb b/config/routes.rb index 8ea8168bf..92ff134b6 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', as: 'compliance_check_set' +        get 'netex_imports/:id/notify_parent', to: 'netex_imports#notify_parent', as: 'netex_imports' +      end      end    end | 
