ruby-x.github.io/config/routes.rb
2018-04-10 20:14:41 +03:00

9 lines
198 B
Ruby

Rails.application.routes.draw do
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