diff options
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index ded013eb4..5a77f69b9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -95,8 +95,9 @@ ChouetteIhm::Application.routes.draw do get "exported_file" end end - - resources :compliance_check_tasks do + + resources :compliance_check_tasks, :only => [:new, :create] + resources :compliance_checks, :only => [:index, :show, :destroy] do member do get 'export', defaults: { format: 'zip' } end |
