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

11 lines
262 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'
2018-04-16 19:36:16 +02:00
get "/debugger" , to: "debugger#index" , as: :debugger_index
2018-04-10 19:14:41 +02:00
get "/blog" , to: "blog#index" , as: :blog_index
2018-04-10 21:14:02 +02:00
get "/blog/*title" , to: "blog#post" , as: :blog_post
2018-04-10 19:14:41 +02:00
2018-04-10 17:25:46 +02:00
end