config/routes.rb in effective_cpd-0.1.10 vs config/routes.rb in effective_cpd-0.1.11
- old
+ new
@@ -32,10 +32,12 @@
resources :cpd_activities, except: [:show]
resources :cpd_cycles, except: [:show]
resources :cpd_rules, only: [:index]
resources :cpd_special_rules, except: [:show]
- resources :cpd_statements, only: [:index, :show]
+ resources :cpd_statements, only: [:index, :show] do
+ post :unsubmit, on: :member
+ end
resources :cpd_audit_levels, except: [:show]
resources :cpd_audit_level_questions, except: [:show]
resources :cpd_audits, except: [:show, :destroy]