diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-17 07:10:53 -0600 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-17 07:11:59 -0600 |
commit | 17f3ab3b83229fa731a5dbb864d385414633cf99 (patch) | |
tree | 80a12e72f8a35fbb4c0c7be6637fbfb09ef43d86 /railties/doc/guides/html/layouts_and_rendering.html | |
parent | 9b2dd332f12902c520f7148f6380d313252613d8 (diff) | |
download | rails-17f3ab3b83229fa731a5dbb864d385414633cf99.tar.gz rails-17f3ab3b83229fa731a5dbb864d385414633cf99.tar.bz2 rails-17f3ab3b83229fa731a5dbb864d385414633cf99.zip |
Fix bad link in Getting Started, rebuild HTML
Diffstat (limited to 'railties/doc/guides/html/layouts_and_rendering.html')
-rw-r--r-- | railties/doc/guides/html/layouts_and_rendering.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/html/layouts_and_rendering.html b/railties/doc/guides/html/layouts_and_rendering.html index 7138c45853..30c114ef82 100644 --- a/railties/doc/guides/html/layouts_and_rendering.html +++ b/railties/doc/guides/html/layouts_and_rendering.html @@ -642,7 +642,7 @@ end</tt></pre> <div class="para"><p>With those declarations, the <tt>inventory</tt> layout would be used only for the <tt>index</tt> method, the <tt>product</tt> layout would be used for everything else except the <tt>rss</tt> method, and the <tt>rss</tt> method will have its layout determined by the automatic layout rules.</p></div>
<h5 id="_layout_inheritance">Layout Inheritance</h5>
<div class="para"><p>Layouts are shared downwards in the hierarchy, and more specific layouts always override more general ones. For example:</p></div>
-<div class="para"><p><tt>application.rb</tt>:</p></div>
+<div class="para"><p><tt>application_controller.rb</tt>:</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 2.9
by Lorenzo Bettini
|