move content to pages

This commit is contained in:
Torsten Ruger
2018-04-10 20:14:41 +03:00
parent aac0be95ca
commit fca4337a59
581 changed files with 10 additions and 11 deletions

View File

@ -0,0 +1,4 @@
# use page path on root , rather than /pages/XXX
HighVoltage.configure do |config|
config.route_drawer = HighVoltage::RouteDrawers::Root
end

View File

@ -1,3 +1,8 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root to: 'high_voltage/pages#show' , id: 'index'
get "/blog" , to: "blog#index" , as: :blog_index
get "/blog/*title" , to: "blog#page" , as: :blog_page
end