diff options
author | Ronnie Miller <ronniemiller@gmail.com> | 2011-04-22 14:50:52 -0700 |
---|---|---|
committer | Ronnie Miller <ronniemiller@gmail.com> | 2011-04-22 14:50:52 -0700 |
commit | 3050497a546396f273adfa5cd19330a8b2832931 (patch) | |
tree | 0150ac1dea8b5a43d85e41e1eb91fcc2f48190ff /railties/guides/source/routing.textile | |
parent | e46e106c547054d4c6a898012e78b6ccfc835254 (diff) | |
download | rails-3050497a546396f273adfa5cd19330a8b2832931.tar.gz rails-3050497a546396f273adfa5cd19330a8b2832931.tar.bz2 rails-3050497a546396f273adfa5cd19330a8b2832931.zip |
Grammer fix on note about wildcard routes
Diffstat (limited to 'railties/guides/source/routing.textile')
-rw-r--r-- | railties/guides/source/routing.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index 95b877aecf..43c08165dc 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -557,7 +557,7 @@ match '*a/foo/*b' => 'test#index' would match +zoo/woo/foo/bar/baz+ with +params[:a]+ equals +"zoo/woo"+, and +params[:b]+ equals +"bar/baz"+. -NOTE: Starting from Rails 3.1, wildcard route will always matching the optional format segment by default. For example if you have this route: +NOTE: Starting from Rails 3.1, wildcard routes will always match the optional format segment by default. For example if you have this route: <ruby> map '*pages' => 'pages#show' |