gateway/config/routes.rb

16 lines
329 B
Ruby
Raw Normal View History

2022-03-25 19:01:50 +01:00
Rails.application.routes.draw do
2022-11-24 14:44:31 +01:00
namespace :cms do
resources :pages do
resources :sections
end
2022-11-25 13:46:49 +01:00
resources :images
2022-11-24 14:44:31 +01:00
end
2022-11-22 15:42:20 +01:00
get 'pages/:id' , to: 'high_voltage/pages#show', id: 'index'
# root to: 'high_voltage/pages#show', id: 'index'
root to: 'cms#view' , id: 'index'
get "/:id" , to: 'cms#view'
2022-03-25 19:01:50 +01:00
end