aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorcedricnjanga2018-02-13 07:58:47 -0800
committercedricnjanga2018-03-02 08:14:58 -0800
commitc81b219024d1265f4cef0c5eb66fb12364f680be (patch)
tree71b98c061f61525eec8e4844105d84075cea13d5 /config/routes.rb
parent0167831148ef5f60f27e9bd7e2d6bfaab33e87c6 (diff)
downloadchouette-core-c81b219024d1265f4cef0c5eb66fb12364f680be.tar.bz2
Refs #3562 add workbench edit button on workbench#show
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 456cb66f5..33608f3fe 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -174,7 +174,7 @@ ChouetteIhm::Application.routes.draw do
namespace :api do
namespace :v1 do
- resources :workbenches, only: [:index, :show] do
+ resources :workbenches, except: [:destroy] do
resources :imports, only: [:index, :show, :create]
end
resources :access_links, only: [:index, :show]