config/routes.rb in effective_cpd-1.2.4 vs config/routes.rb in effective_cpd-1.3.0
- old
+ new
@@ -3,10 +3,10 @@
end
EffectiveCpd::Engine.routes.draw do
scope module: 'effective' do
# Statements wizard
- resources :cpd_cycles, path: "cpd_#{EffectiveCpd.cycle_label.pluralize.parameterize.underscore}", only: [:show] do
+ resources :cpd_cycles, only: [:show] do
resources :cpd_statements, path: :statements, only: [:new, :show] do
resources :build, controller: :cpd_statements, only: [:show, :update]
end
end