Permalink
Browse files

Add clarity to static segments docs in non-resourceful routes [ci skip]

  • Loading branch information...
1 parent c5539cd commit 51b26298e699e039a78651452ec5f5a46d570d24 @ptn ptn committed Dec 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/routing.md
View
@@ -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'

0 comments on commit 51b2629

Please sign in to comment.