merged/config/routes.rb

30 lines
554 B
Ruby
Raw Normal View History

Merged::Engine.routes.draw do
2022-11-28 23:58:17 +02:00
get 'changes/index'
post 'changes/commit'
post 'changes/reset'
get "styles/index"
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
end