2022-11-28 19:22:50 +02:00
|
|
|
Merged::Engine.routes.draw do
|
2022-11-28 23:58:17 +02:00
|
|
|
|
2022-12-03 21:25:12 +02:00
|
|
|
get 'changes/index'
|
|
|
|
post 'changes/commit'
|
2022-12-26 20:29:43 +02:00
|
|
|
post 'changes/reset'
|
2022-12-03 19:26:53 +02:00
|
|
|
get "styles/index"
|
|
|
|
|
2022-12-09 17:16:26 +02:00
|
|
|
post 'form/sendit'
|
|
|
|
|
2022-12-16 16:50:56 +02:00
|
|
|
resources :pages , except: [:edit , :new] , shallow: true do
|
2022-11-28 23:58:17 +02:00
|
|
|
resources :sections do
|
|
|
|
get :set_image
|
2022-11-29 15:57:10 +02:00
|
|
|
get :select_template
|
|
|
|
get :set_template
|
2022-11-29 20:22:57 +02:00
|
|
|
get :select_card_template
|
|
|
|
get :set_card_template
|
2022-12-01 20:14:34 +02:00
|
|
|
get :move
|
2022-11-30 23:49:23 +02:00
|
|
|
resources :cards do
|
|
|
|
get :set_image
|
2022-12-01 19:25:22 +02:00
|
|
|
get :move
|
2022-11-30 23:49:23 +02:00
|
|
|
end
|
2022-11-28 23:58:17 +02:00
|
|
|
end
|
|
|
|
end
|
2022-12-30 21:10:33 +02:00
|
|
|
resources :images do
|
|
|
|
get :copy
|
2023-01-01 14:33:12 +02:00
|
|
|
post :crop
|
|
|
|
post :scale
|
2022-12-30 21:10:33 +02:00
|
|
|
end
|
2022-11-28 19:22:50 +02:00
|
|
|
end
|