From bf5ac9965f12840d469ef2a4a16e8205dbbe5253 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Thu, 2 Jul 2009 14:53:16 +0200 Subject: routing guide: removes misleading full stop, thanks to steven_noble --- railties/guides/source/routing.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index 1873c428bf..355f385d49 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -416,7 +416,7 @@ map.resources :magazines do |magazine| end -TIP: Further below you'll learn about a convenient shortcut for this construct:
+map.resources :magazines, :has_many => :ads+. +TIP: Further below you'll learn about a convenient shortcut for this construct:
+map.resources :magazines, :has_many => :ads+ In addition to the routes for magazines, this declaration will also create routes for ads, each of which requires the specification of a magazine in the URL: -- cgit v1.2.3