diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-25 23:27:15 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-25 23:27:15 +0530 |
commit | c6b9e47d5c59554d13d7dabedb651c7bf69da56b (patch) | |
tree | 47e39bc0ea185f66883c41d012458726b2c43601 /railties/guides/source/performance_testing.textile | |
parent | 8618ef7537d055dfafd922fee4301e4da4189587 (diff) | |
download | rails-c6b9e47d5c59554d13d7dabedb651c7bf69da56b.tar.gz rails-c6b9e47d5c59554d13d7dabedb651c7bf69da56b.tar.bz2 rails-c6b9e47d5c59554d13d7dabedb651c7bf69da56b.zip |
use new routes
Diffstat (limited to 'railties/guides/source/performance_testing.textile')
-rw-r--r-- | railties/guides/source/performance_testing.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/performance_testing.textile b/railties/guides/source/performance_testing.textile index b9401f3559..8cdfaf3e41 100644 --- a/railties/guides/source/performance_testing.textile +++ b/railties/guides/source/performance_testing.textile @@ -60,8 +60,8 @@ Let's assume your application has the following controller and model: <ruby> # routes.rb -map.root :controller => 'home' -map.resources :posts +root :to => 'home#index' +resources :posts # home_controller.rb class HomeController < ApplicationController |