pages add and destroy

This commit is contained in:
2022-12-05 10:56:20 +02:00
parent d30ce30370
commit f5d53b6d1c
4 changed files with 36 additions and 15 deletions

View File

@ -4,7 +4,7 @@ Merged::Engine.routes.draw do
post 'changes/commit'
get "styles/index"
resources :pages , except: [:show] , shallow: true do
resources :pages , except: [:show , :new] , shallow: true do
resources :sections do
get :select_image
get :set_image