lib/decidim/conferences/admin_engine.rb in decidim-conferences-0.28.4 vs lib/decidim/conferences/admin_engine.rb in decidim-conferences-0.29.0.rc1

- old
+ new

@@ -16,10 +16,15 @@ routes do resources :conferences, param: :slug, except: [:show, :destroy] do resource :publish, controller: "conference_publications", only: [:create, :destroy] resources :copies, controller: "conference_copies", only: [:new, :create] - resources :speakers, controller: "conference_speakers" + resources :speakers, controller: "conference_speakers" do + member do + put :publish + put :unpublish + end + end resources :partners, controller: "partners", except: [:show] resources :media_links, controller: "media_links" resources :registration_types, controller: "registration_types" do resource :publish, controller: "registration_type_publications", only: [:create, :destroy] collection do