From 51b26298e699e039a78651452ec5f5a46d570d24 Mon Sep 17 00:00:00 2001 From: Pablo Torres Date: Sun, 2 Dec 2012 16:21:29 -0500 Subject: Add clarity to static segments docs in non-resourceful routes [ci skip] --- guides/source/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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' -- cgit v1.2.3