aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorPablo Torres <tn.pablo@gmail.com>2012-12-02 16:21:29 -0500
committerPablo Torres <tn.pablo@gmail.com>2012-12-02 16:57:46 -0500
commit51b26298e699e039a78651452ec5f5a46d570d24 (patch)
treecb74c0694078ce930dd1b737ad12ef489c401578 /guides/source
parentc5539cdbdda302a0f6535c0b8b7e404ec57d349c (diff)
downloadrails-51b26298e699e039a78651452ec5f5a46d570d24.tar.gz
rails-51b26298e699e039a78651452ec5f5a46d570d24.tar.bz2
rails-51b26298e699e039a78651452ec5f5a46d570d24.zip
Add clarity to static segments docs in non-resourceful routes [ci skip]
Diffstat (limited to 'guides/source')
-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'