Skip to content

Commit

Permalink
Avoid redefining the response=.
Browse files Browse the repository at this point in the history
In `6d5e0d2de2a8836e858962981c34aff2f76ffe3d` we added a `response=` method
that was redefining the already existed method generated by `attr_internal`.
  • Loading branch information
rafaelfranca committed Jan 20, 2023
1 parent 006d68e commit 8c11ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal.rb
Expand Up @@ -163,7 +163,7 @@ def controller_name
# :attr_reader: response
#
# The ActionDispatch::Response instance for the current response.
attr_internal :response
attr_internal_reader :response

delegate :session, to: "@_request"

Expand Down

0 comments on commit 8c11ae0

Please sign in to comment.