merged/config/routes.rb

30 lines
554 B
Ruby
Raw Normal View History

Merged::Engine.routes.draw do
2022-11-28 22:58:17 +01:00
get 'changes/index'
post 'changes/commit'
post 'changes/reset'
get "styles/index"
post 'form/sendit'
2022-12-16 15:50:56 +01:00
resources :pages , except: [:edit , :new] , shallow: true do
2022-11-28 22:58:17 +01:00
resources :sections do
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 :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-30 20:10:33 +01:00
resources :images do
get :copy
2023-01-01 13:33:12 +01:00
post :crop
post :scale
2022-12-30 20:10:33 +01:00
end
end