Skip to content

Commit

Permalink
Merge pull request #48588 from zzak/7-0-backport-f1cdfc0
Browse files Browse the repository at this point in the history
[7-0-stable] Fix rubocop warning
  • Loading branch information
matthewd committed Jun 27, 2023
2 parents 8e37f2b + 9ae3da1 commit be7cde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/redirecting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def redirect_to(options = {}, response_options = {})

allow_other_host = response_options.delete(:allow_other_host) { _allow_other_host }

self.status = _extract_redirect_to_status(options, response_options)
self.status = _extract_redirect_to_status(options, response_options)

redirect_to_location = _compute_redirect_to_location(request, options)
_ensure_url_is_http_header_safe(redirect_to_location)
Expand Down

0 comments on commit be7cde2

Please sign in to comment.