diff options
author | Jeff Dean <jeff@zilkey.com> | 2008-11-17 00:15:20 -0500 |
---|---|---|
committer | Jeff Dean <jeff@zilkey.com> | 2008-11-17 00:15:20 -0500 |
commit | 236142d23eb083d0a755d29d6365925ae5cc9f03 (patch) | |
tree | f12e47105127b61d02084d48146cdaeaf43b855b /railties/doc/guides/source/creating_plugins/controllers.txt | |
parent | eda282f85743961e2910e4e493a2690fa633b94f (diff) | |
download | rails-236142d23eb083d0a755d29d6365925ae5cc9f03.tar.gz rails-236142d23eb083d0a755d29d6365925ae5cc9f03.tar.bz2 rails-236142d23eb083d0a755d29d6365925ae5cc9f03.zip |
Rails plugin: misc error fixes.
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/controllers.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/controllers.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/doc/guides/source/creating_plugins/controllers.txt b/railties/doc/guides/source/creating_plugins/controllers.txt index e38cf8251e..7afdef032d 100644 --- a/railties/doc/guides/source/creating_plugins/controllers.txt +++ b/railties/doc/guides/source/creating_plugins/controllers.txt @@ -19,6 +19,10 @@ class WoodpeckersControllerTest < Test::Unit::TestCase @controller = WoodpeckersController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new + + ActionController::Routing::Routes.draw do |map| + map.resources :woodpeckers + end end def test_index |