|
@@ -1,11 +1,11 @@
|
|
Rails.application.routes.draw do
|
|
Rails.application.routes.draw do
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
|
|
|
|
- get "json", to: "hello_world#json"
|
|
|
|
|
|
+ get "json", to: JsonController.action(:index)
|
|
get "db", to: "hello_world#db"
|
|
get "db", to: "hello_world#db"
|
|
get "queries", to: "hello_world#query"
|
|
get "queries", to: "hello_world#query"
|
|
get "fortunes", to: "hello_world#fortune"
|
|
get "fortunes", to: "hello_world#fortune"
|
|
get "updates", to: "hello_world#update"
|
|
get "updates", to: "hello_world#update"
|
|
- get "plaintext", to: "hello_world#plaintext"
|
|
|
|
|
|
+ get "plaintext", to: PlaintextController.action(:index)
|
|
get "cached", to: "hello_world#cached_query"
|
|
get "cached", to: "hello_world#cached_query"
|
|
end
|
|
end
|