aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorXinhui2017-08-22 16:01:56 +0200
committerXinhui2017-08-22 16:01:56 +0200
commite793bffd18b331f2db2bb567c479fdbf02c66aec (patch)
tree7cb066eab3db23e68659fa365b42180a5becd2b0 /config/routes.rb
parent2df1767902996d43b56aa215bea15a033237b3ec (diff)
downloadchouette-core-e793bffd18b331f2db2bb567c479fdbf02c66aec.tar.bz2
API - workbench imports controller
Diffstat (limited to 'config/routes.rb')
-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]