config/routes.rb in udongo-5.7.0 vs config/routes.rb in udongo-5.8.0

- old
+ new

@@ -81,10 +81,18 @@ end end scope module: 'rows' do Udongo.config.flexible_content.types.each do |content_type| + next if content_type == 'picture' resources content_type.to_s.pluralize.to_sym, only: [:edit, :update] + end + + resources :pictures, only: [:edit, :update] do + member do + get :link_or_upload, :link + post :upload + end end end end resources :images, only: [:index, :new, :create] do