From 633f72cf0c93e30bf3179b1c7f5b072ac8dd5272 Mon Sep 17 00:00:00 2001 From: Richard Ramsden Date: Thu, 4 Sep 2014 14:44:47 +0900 Subject: [PATCH] [ci skip] Fix typo in rails guide for routing --- guides/source/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/routing.md b/guides/source/routing.md index 076b9dd176d34..5721e3e483c91 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -741,7 +741,7 @@ get '*a/foo/*b', to: 'test#index' would match `zoo/woo/foo/bar/baz` with `params[:a]` equals `'zoo/woo'`, and `params[:b]` equals `'bar/baz'`. -NOTE: By requesting `'/foo/bar.json'`, your `params[:pages]` will be equals to `'foo/bar'` with the request format of JSON. If you want the old 3.0.x behavior back, you could supply `format: false` like this: +NOTE: By requesting `'/foo/bar.json'`, your `params[:pages]` will be equal to `'foo/bar'` with the request format of JSON. If you want the old 3.0.x behavior back, you could supply `format: false` like this: ```ruby get '*pages', to: 'pages#show', format: false