Permalink
Browse files

grammar fixes in a tip in Rails routing guide

  • Loading branch information...
roryokane committed May 24, 2012
1 parent 03fa708 commit aa54d29f9b3068a40b67f055726696fa51a3baef
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/routing.textile
@@ -395,7 +395,7 @@ NOTE: You can't use +:namespace+ or +:module+ with a +:controller+ path segment.
get ':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 that overrides this for example, +:id+ => /[^\/]+/ allows anything except a slash.
h4. Static Segments

0 comments on commit aa54d29

Please sign in to comment.