Permalink
Browse files

Left off the map variable, spotted by Johan Andersson

  • Loading branch information...
1 parent 436532b commit d1faa408e5c30eed80c810c4993ee761a81f2219 @mikel mikel committed Feb 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/3_0_release_notes.textile
@@ -259,7 +259,7 @@ Action Dispatch is new in Rails 3.0 and provides a new, cleaner implementation f
<ruby>
# Instead of:
-ActionController::Routing::Routes.draw do
+ActionController::Routing::Routes.draw do |map|
map.resources :posts
end

0 comments on commit d1faa40

Please sign in to comment.