giving synthesis thesis own layout with only simple backlink to site. Also cleaned up conversion errors
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# use page path on root , rather than /pages/XXX
|
||||
HighVoltage.configure do |config|
|
||||
config.route_drawer = HighVoltage::RouteDrawers::Root
|
||||
config.routes = false
|
||||
end
|
||||
|
@ -1,6 +1,6 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
root to: 'high_voltage/pages#show' , id: 'index'
|
||||
root to: 'pages#show', id: 'index'
|
||||
|
||||
get "/slides/*slide" , to: 'slides#index', :as => :slide
|
||||
|
||||
@ -9,4 +9,6 @@ Rails.application.routes.draw do
|
||||
get "/blog" , to: "blog#index" , as: :blog_index
|
||||
get "/blog/*title" , to: "blog#post" , as: :blog_post
|
||||
|
||||
get "/*id" => 'pages#show', as: :page, format: false
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user