diff options
author | Richard Ramsden <richard@rramsden.ca> | 2014-09-04 14:44:47 +0900 |
---|---|---|
committer | Richard Ramsden <richard@rramsden.ca> | 2014-09-04 14:45:08 +0900 |
commit | 633f72cf0c93e30bf3179b1c7f5b072ac8dd5272 (patch) | |
tree | b1e61d732ced009fc8bd42bc17d7e86c2f2bb4e2 /guides | |
parent | 11ac1e8a2ce9b12fce829088e1000328687d0cf4 (diff) | |
download | rails-633f72cf0c93e30bf3179b1c7f5b072ac8dd5272.tar.gz rails-633f72cf0c93e30bf3179b1c7f5b072ac8dd5272.tar.bz2 rails-633f72cf0c93e30bf3179b1c7f5b072ac8dd5272.zip |
[ci skip] Fix typo in rails guide for routing
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/routing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md index 076b9dd176..5721e3e483 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 |