routes.rb 453 B

1234567891011
  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: JsonController.action(:index)
  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: PlaintextController.action(:index)
  9. get "cached", to: "hello_world#cached_query"
  10. end