Permalink
Browse files

Merge remote branch 'origin/master'

  • Loading branch information...
2 parents 108561f + f44e0e8 commit fcade9f4d20295a197675c8632d10edd5ca66c79 @jonathonjones jonathonjones committed Mar 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/routing.textile
@@ -391,7 +391,7 @@ NOTE: You can't use +namespace+ or +:module+ with a +:controller+ path segment.
match ':controller(/:action(/:id))', :controller => /admin\/[^\/]+/
</ruby>
-TIP: By default dynamic segments don't accept dots - this is because the dot is used as a separator for formatted routes. If you need to use a dot within a dynamic segment add a constraint which overrides this - for example +:id => /[^\/]+/+ allows anything except a slash.
+TIP: By default dynamic segments don't accept dots - this is because the dot is used as a separator for formatted routes. If you need to use a dot within a dynamic segment add a constraint which overrides this - for example +:id => /[^\/]<plus>/+ allows anything except a slash.
h4. Static Segments

0 comments on commit fcade9f

Please sign in to comment.