ruby-x.github.io/config/routes.rb

9 lines
198 B
Ruby
Raw Normal View History

2018-04-10 17:25:46 +02:00
Rails.application.routes.draw do
2018-04-10 19:14:41 +02:00
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
2018-04-10 17:25:46 +02:00
end