diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2010-04-04 17:34:13 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2010-04-04 17:34:13 +0100 |
commit | 48b2451142355b22de5f8130b3debdd4e53e2ba2 (patch) | |
tree | ee3b1bcf44803333799873385c5f246efef06128 /actionpack/lib/action_view | |
parent | 824fa10f4d1306cc1e310a7d5de7e95cfb07d6f8 (diff) | |
download | rails-48b2451142355b22de5f8130b3debdd4e53e2ba2.tar.gz rails-48b2451142355b22de5f8130b3debdd4e53e2ba2.tar.bz2 rails-48b2451142355b22de5f8130b3debdd4e53e2ba2.zip |
Update various documentation examples to use new routing DSL
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/atom_feed_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb index 58c3a8752e..52806f206a 100644 --- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb +++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb @@ -9,8 +9,8 @@ module ActionView # # config/routes.rb: # Basecamp::Application.routes.draw do |map| - # map.resources :posts - # map.root :controller => "posts" + # resources :posts + # root :to => "posts#index" # end # # app/controllers/posts_controller.rb: |