aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2017-08-23 14:26:43 +0200
committerXinhui2017-08-23 14:26:43 +0200
commit6ef942b93eaa0a1d0d6203a3e984f95c751e9ea9 (patch)
tree8f9a7d91a8e67d20c0ba57610dc51ea14843dd91
parent1e9a998ed1e895f0256191ec4f0b9405d3e14f10 (diff)
downloadchouette-core-6ef942b93eaa0a1d0d6203a3e984f95c751e9ea9.tar.bz2
Limite actions on api imports route
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 3572f50e8..bf1c1cb74 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -33,7 +33,7 @@ ChouetteIhm::Application.routes.draw do
namespace :api do
namespace :v1 do
resources :workbenches, only: [:index, :show] do
- resources :imports
+ resources :imports, only: [:index, :show, :create]
end
resources :access_links, only: [:index, :show]
resources :access_points, only: [:index, :show]