Skip to content
Browse files

Merge pull request #4934 from rafaelfranca/fix-doc

Fix match docs
  • Loading branch information...
2 parents 75ffd87 + b12cfd5 commit 17497e5c557ce49f9fbaebf9a290b2a9fa216b8a @spastorino spastorino committed Feb 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
View
2 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1250,7 +1250,7 @@ def shallow?
end
# match 'path' => 'controller#action'
- # match 'path', as: 'controller#action'
+ # match 'path', to: 'controller#action'
# match 'path', 'otherpath', on: :member, via: :get
def match(path, *rest)
if rest.empty? && Hash === path

0 comments on commit 17497e5

Please sign in to comment.
Something went wrong with that request. Please try again.