aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 43aec62ea..3572f50e8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -32,7 +32,9 @@ ChouetteIhm::Application.routes.draw do
namespace :api do
namespace :v1 do
- resources :workbenches, only: [:index, :show]
+ resources :workbenches, only: [:index, :show] do
+ resources :imports
+ end
resources :access_links, only: [:index, :show]
resources :access_points, only: [:index, :show]
resources :connection_links, only: [:index, :show]