1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

routing guide: removes misleading full stop, thanks to steven_noble

This commit is contained in:
Xavier Noria 2009-07-02 14:53:16 +02:00
parent 5b59bff705
commit bf5ac9965f

View file

@ -416,7 +416,7 @@ map.resources :magazines do |magazine|
end
</ruby>
TIP: Further below you'll learn about a convenient shortcut for this construct:<br/>+map.resources :magazines, :has_many => :ads+.
TIP: Further below you'll learn about a convenient shortcut for this construct:<br/>+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: