flattened routes, lots of paths and arg changes

This commit is contained in:
2022-11-30 16:22:11 +02:00
parent 1d91ff2fc6
commit df5713e6fe
31 changed files with 121 additions and 104 deletions

View File

@ -1,7 +1,7 @@
Merged::Engine.routes.draw do
get "/styles/index" , to: "styles#index"
resources :pages do
resources :pages , shallow: true do
resources :sections do
get :select_image
get :set_image