Skip to content

Commit 1137851

Browse files
Merge pull request rails#47636 from jonathanhefner/action_controller-remove-obsolete-_normalize_args
Remove obsolete `AC::Rendering#_normalize_args`
2 parents 58597c1 + 4bd6251 commit 1137851

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

actionpack/lib/action_controller/metal/rendering.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,6 @@ def _set_vary_header
195195
end
196196
end
197197

198-
# Normalize arguments by catching blocks and setting them on :update.
199-
def _normalize_args(action = nil, options = {}, &blk)
200-
options = super
201-
options[:update] = blk if block_given?
202-
options
203-
end
204-
205198
# Normalize both text and status options.
206199
def _normalize_options(options)
207200
_normalize_text(options)

0 commit comments

Comments
 (0)