config/routes.rb in effective_cpd-1.5.1 vs config/routes.rb in effective_cpd-1.6.0
- old
+ new
@@ -36,10 +36,10 @@
resources :cpd_cycles, except: [:show]
resources :cpd_rules, only: [:index]
resources :cpd_special_rules, except: [:show]
resources :cpd_targets, except: [:show]
- resources :cpd_statements, only: [:index, :show] do
+ resources :cpd_statements, only: [:index, :show, :destroy] do
post :unsubmit, on: :member
end
resources :cpd_audit_levels, except: [:show]
resources :cpd_audit_level_questions, except: [:show]