Commit e462489
committed
Merge pull request rails#17221 from StefanH/fix-unknown-http-method-message
Invalid HTTP method will raise I18n::InvalidLocale if :en is not a valid locale.
Conflicts:
actionpack/lib/action_dispatch/http/request.rb1 parent 6dbaea6 commit e462489
File tree
2 files changed
+17
-1
lines changed- actionpack
- lib/action_dispatch/http
- test/dispatch
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
462 | 478 | | |
463 | 479 | | |
464 | 480 | | |
| |||
0 commit comments