Permalink
Browse files

Update #match documentation [ci skip]

  • Loading branch information...
1 parent c5fcc9a commit 8453addedcea6e42a5df3d241225a32698121072 @paneq paneq committed Jul 31, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionpack/lib/action_dispatch/routing/mapper.rb
View
4 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -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

0 comments on commit 8453add

Please sign in to comment.