Skip to content

Commit

Permalink
Update #match documentation [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
paneq committed Jul 31, 2012
1 parent c5fcc9a commit 8453add
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -404,6 +404,10 @@ def root(options = {})
#
# # Matches any request starting with 'path'
# match 'path' => 'c#a', :anchor => false
#
# [:format]
# Allows you to specify default value for optional +format+ segment
# or disable it if you supply +false+
def match(path, options=nil)
end

Expand Down

0 comments on commit 8453add

Please sign in to comment.