merged/config/routes.rb
2022-11-30 23:49:23 +02:00

20 lines
420 B
Ruby

Merged::Engine.routes.draw do
get "/styles/index" , to: "styles#index"
resources :pages , shallow: true do
resources :sections do
get :select_image
get :set_image
get :select_template
get :set_template
get :select_card_template
get :set_card_template
resources :cards do
get :select_image
get :set_image
end
end
end
resources :images
end