mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Left off the map variable, spotted by Johan Andersson
This commit is contained in:
parent
436532b3ce
commit
d1faa408e5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue