aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/html/creating_plugins.html
diff options
context:
space:
mode:
authorJeff Dean <jeff@zilkey.com>2008-11-17 00:17:15 -0500
committerJeff Dean <jeff@zilkey.com>2008-11-17 00:17:15 -0500
commitf22b686ebb8b8606e752188aa072b40700f01f54 (patch)
treefca166ef9c8f45ba069160c220ed5e419ecc8599 /railties/doc/guides/html/creating_plugins.html
parent236142d23eb083d0a755d29d6365925ae5cc9f03 (diff)
downloadrails-f22b686ebb8b8606e752188aa072b40700f01f54.tar.gz
rails-f22b686ebb8b8606e752188aa072b40700f01f54.tar.bz2
rails-f22b686ebb8b8606e752188aa072b40700f01f54.zip
Plugin guide: re-ran rake guides
Diffstat (limited to 'railties/doc/guides/html/creating_plugins.html')
-rw-r--r--railties/doc/guides/html/creating_plugins.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/doc/guides/html/creating_plugins.html b/railties/doc/guides/html/creating_plugins.html
index ba7962d9ca..0fa9822c0c 100644
--- a/railties/doc/guides/html/creating_plugins.html
+++ b/railties/doc/guides/html/creating_plugins.html
@@ -1149,6 +1149,7 @@ http://www.gnu.org/software/src-highlite -->
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
</tt></pre></div></div>
+<div class="para"><p>Once you see the tests fail by running <em>rake</em>, you can make them pass with:</p></div>
<div class="para"><p><strong>vendor/plugins/yaffle/lib/yaffle.rb</strong></p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 2.9
@@ -1172,6 +1173,7 @@ http://www.gnu.org/software/src-highlite -->
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
+
ActionController<span style="color: #990000">::</span>Routing<span style="color: #990000">::</span>RouteSet<span style="color: #990000">::</span>Mapper<span style="color: #990000">.</span>send <span style="color: #990000">:</span><span style="font-weight: bold"><span style="color: #0000FF">include</span></span><span style="color: #990000">,</span> Yaffle<span style="color: #990000">::</span>Routing<span style="color: #990000">::</span>MapperExtensions
</tt></pre></div></div>
<div class="para"><p><strong>config/routes.rb</strong></p></div>