2022-11-28 18:22:50 +01:00
|
|
|
Merged::Engine.routes.draw do
|
2022-11-28 22:58:17 +01:00
|
|
|
|
2022-12-03 20:25:12 +01:00
|
|
|
get 'changes/index'
|
|
|
|
post 'changes/commit'
|
2022-12-03 18:26:53 +01:00
|
|
|
get "styles/index"
|
|
|
|
|
2022-12-05 09:56:20 +01:00
|
|
|
resources :pages , except: [:show , :new] , shallow: true do
|
2022-11-28 22:58:17 +01:00
|
|
|
resources :sections do
|
|
|
|
get :select_image
|
|
|
|
get :set_image
|
2022-11-29 14:57:10 +01:00
|
|
|
get :select_template
|
|
|
|
get :set_template
|
2022-11-29 19:22:57 +01:00
|
|
|
get :select_card_template
|
|
|
|
get :set_card_template
|
2022-12-01 19:14:34 +01:00
|
|
|
get :move
|
2022-11-30 22:49:23 +01:00
|
|
|
resources :cards do
|
|
|
|
get :select_image
|
|
|
|
get :set_image
|
2022-12-01 18:25:22 +01:00
|
|
|
get :move
|
2022-11-30 22:49:23 +01:00
|
|
|
end
|
2022-11-28 22:58:17 +01:00
|
|
|
end
|
|
|
|
end
|
2022-12-05 10:56:43 +01:00
|
|
|
resources :images
|
2022-11-28 18:22:50 +01:00
|
|
|
end
|