merged/config/routes.rb
2022-12-30 21:10:33 +02:00

28 lines
523 B
Ruby

Merged::Engine.routes.draw do
get 'changes/index'
post 'changes/commit'
post 'changes/reset'
get "styles/index"
post 'form/sendit'
resources :pages , except: [:edit , :new] , shallow: true do
resources :sections do
get :set_image
get :select_template
get :set_template
get :select_card_template
get :set_card_template
get :move
resources :cards do
get :set_image
get :move
end
end
end
resources :images do
get :copy
end
end