Permalink
Browse files

Fix match docs

  • Loading branch information...
1 parent 75ffd87 commit b12cfd523c426674998004ba13bc94dac8a91c65 @rafaelfranca rafaelfranca committed Feb 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 b12cfd5

Please sign in to comment.