Skip to content

Commit 173bf35

Browse files
committed
Fix conditional order broken in ea40ec5.
1 parent ad95b6f commit 173bf35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionpack/lib/action_dispatch/testing/integration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ def initialize(mime_name, param_encoder, response_parser, url_encoded_form = fal
424424

425425
def append_format_to(path)
426426
if @url_encoded_form
427-
path + @path_format
428-
else
429427
path
428+
else
429+
path + @path_format
430430
end
431431
end
432432

0 commit comments

Comments
 (0)