Skip to content
Browse files

Grammer fix on note about wildcard routes

  • Loading branch information...
1 parent e46e106 commit 3050497a546396f273adfa5cd19330a8b2832931 @mlr mlr committed Apr 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/routing.textile
View
2 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'

0 comments on commit 3050497

Please sign in to comment.
Something went wrong with that request. Please try again.