diff options
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 4c4d12998f..90b45d6502 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -406,8 +406,8 @@ module ActionDispatch # match 'path' => 'c#a', :anchor => false # # [:format] - # Allows you to specify default value for optional +format+ segment - # or disable it if you supply +false+ + # Allows you to specify the default value for optional +format+ + # segment or disable it if you supply +false+. def match(path, options=nil) end @@ -1191,8 +1191,8 @@ module ActionDispatch # sekret_comment DELETE /comments/:id(.:format) # # [:format] - # Allows you to specify default value for optional +format+ segment - # or disable it if you supply +false+ + # Allows you to specify the default value for optional +format+ + # segment or disable it if you supply +false+. # # === Examples # |