diff options
author | Robert Pankowecki <robert.pankowecki@gmail.com> | 2012-07-31 20:28:02 +0200 |
---|---|---|
committer | Robert Pankowecki <robert.pankowecki@gmail.com> | 2012-07-31 20:28:02 +0200 |
commit | 8453addedcea6e42a5df3d241225a32698121072 (patch) | |
tree | 95baca9c01f752ce09a34161f25a1041cf7e8258 /actionpack/lib | |
parent | c5fcc9ad1cd95854c3c8129f453982c6acd8fd61 (diff) | |
download | rails-8453addedcea6e42a5df3d241225a32698121072.tar.gz rails-8453addedcea6e42a5df3d241225a32698121072.tar.bz2 rails-8453addedcea6e42a5df3d241225a32698121072.zip |
Update #match documentation [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index a4f868593a..4c4d12998f 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -404,6 +404,10 @@ module ActionDispatch # # # 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 |