config/routes.rb in udongo-1.0.3 vs config/routes.rb in udongo-1.0.4
- old
+ new
@@ -22,10 +22,14 @@
resources :pages, except: [:show] do
concerns :translatable
member { post :tree_drag_and_drop }
end
+ resources :forms do
+ resources :submissions, controller: 'forms/submissions'
+ end
+
resources :navigations, only: [:index] do
scope module: 'navigation' do
resources :items, except: [:index, :show] do
concerns :translatable
concerns :positionable
@@ -55,18 +59,14 @@
end
resources :redirects, except: :show
namespace :content do
resources :rows, only: [:index, :new, :destroy] do
- member do
- get 'move_up', 'move_down'
- end
+ concerns :positionable
scope module: 'rows' do
resources :columns do
- member do
- get 'move_up', 'move_down'
- end
+ concerns :positionable
end
end
end
scope module: 'rows' do