Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix match docs
  • Loading branch information
rafaelfranca committed Feb 8, 2012
1 parent 75ffd87 commit b12cfd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -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
Expand Down

0 comments on commit b12cfd5

Please sign in to comment.