From 54d01ce65611e3574aa0c7f0cd3ec4cfb2bebf99 Mon Sep 17 00:00:00 2001
From: James Miller <james@jkmillertech.com>
Date: Tue, 2 Feb 2010 23:34:44 -0800
Subject: Remove a Rails 2 convention from namespaced routes

---
 railties/guides/source/routing.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/routing.textile')

diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile
index c764597a65..96dbd0dcd0 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -271,7 +271,7 @@ This can be especially useful when map multiple namespaced routes together using
 
 <ruby>
 namespace :admin do
-  admin.resources :photos, :videos
+  resources :photos, :videos
 end
 </ruby>
 
-- 
cgit v1.2.3

