aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-09-04 10:27:49 +0200
committerYves Senn <yves.senn@gmail.com>2014-09-04 10:27:49 +0200
commitb8fbcc0787dde662049794ea4555c8aa52847843 (patch)
tree5fc7274637f042b7f1309ec8157c7d418a886150 /guides
parent94b7328b08fcc55e82bfcaa34a25ae718921ae1c (diff)
parent633f72cf0c93e30bf3179b1c7f5b072ac8dd5272 (diff)
downloadrails-b8fbcc0787dde662049794ea4555c8aa52847843.tar.gz
rails-b8fbcc0787dde662049794ea4555c8aa52847843.tar.bz2
rails-b8fbcc0787dde662049794ea4555c8aa52847843.zip
Merge pull request #16799 from rramsden/fix-typo
[ci skip] Fix typo in rails guide for routing
Diffstat (limited to 'guides')
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index af8c1bbcc4..b1a287f53a 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -756,7 +756,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