mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
grammar fixes in a tip in Rails routing guide
This commit is contained in:
parent
03fa7085a9
commit
aa54d29f9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue