Skip to content

Commit 6b0ebde

Browse files
committed
Merge pull request rails#56693 from r7kamura/configuration-duplicated-if
Combine duplicate `if respond_to?(:action_view)`
1 parent 38e8df6 commit 6b0ebde

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

railties/lib/rails/application/configuration.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,6 @@ def load_defaults(target_version)
363363

364364
if respond_to?(:action_view)
365365
action_view.render_tracker = :ruby
366-
end
367-
368-
if respond_to?(:action_view)
369366
action_view.remove_hidden_field_autocomplete = true
370367
end
371368
else

0 commit comments

Comments
 (0)