aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 170639c7da..5728a17c04 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -556,7 +556,7 @@ TIP: By default, dynamic segments don't accept dots - this is because the dot is
### Static Segments
-You can specify static segments when creating a route:
+You can specify static segments when creating a route by not prepending a colon to a fragment:
```ruby
get ':controller/:action/:id/with_user/:user_id'