config/routes.rb in udongo-6.3.2 vs config/routes.rb in udongo-6.4.0
- old
+ new
@@ -39,10 +39,16 @@
resources :fields, controller: 'forms/fields', except: %w(show) do
concerns :translatable, :positionable
end
end
+ resources :image_collections do
+ resources :images, only: [:index], controller: 'image_collections/images' do
+ concerns :positionable
+ end
+ end
+
resources :articles, except: [:show] do
concerns :translatable
resources :images, only: [:index], controller: 'articles/images' do
concerns :positionable
@@ -78,10 +84,10 @@
get 'html_content'
end
end
namespace :content do
- resources :rows, only: [:index, :new, :destroy] do
+ resources :rows, only: [:index, :new, :edit, :update, :destroy] do
member do
get :horizontal_alignment, :vertical_alignment, :toggle_full_width
end
concerns :positionable