routes.rb 384 B

12345678910
  1. Rails.application.routes.draw do
  2. # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  3. get "json", to: "hello_world#json"
  4. get "db", to: "hello_world#db"
  5. get "queries", to: "hello_world#query"
  6. get "fortunes", to: "hello_world#fortune"
  7. get "updates", to: "hello_world#update"
  8. get "plaintext", to: "hello_world#plaintext"
  9. end