aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorteddywing2017-10-19 17:05:12 +0200
committerGitHub2017-10-19 17:05:12 +0200
commit3ee97da2ff5c782debcce2ab7365110c95471942 (patch)
tree0fae2845185c36936f54ec3603c051563bd3364f /config/routes.rb
parent86122f091fc58cccaa882e1d76368730f16d30da (diff)
parentaba7a66a6baf07b38e346caf05ae5606804d2976 (diff)
downloadchouette-core-3ee97da2ff5c782debcce2ab7365110c95471942.tar.bz2
Merge pull request #97 from af83/4741-clone_compliance_control_set
add clone method in compliance_control_sets_controller, add duplicate…
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b9e318f91..b105e77d6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -74,6 +74,7 @@ ChouetteIhm::Application.routes.draw do
resources :api_keys, :only => [:edit, :update, :new, :create, :destroy]
resources :compliance_control_sets do
+ get :clone, on: :member
resources :compliance_controls, except: :index do
get :select_type, on: :collection
end