We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a2e28d + 723452c commit 28d42a5Copy full SHA for 28d42a5
railties/lib/rails/engine/lazy_route_set.rb
@@ -87,19 +87,19 @@ def routes
87
def method_missing_module
88
@method_missing_module ||= Module.new do
89
private
90
- def method_missing(method_name, *args, &block)
+ def method_missing(...)
91
if Rails.application&.reload_routes_unless_loaded
92
- public_send(method_name, *args, &block)
+ public_send(...)
93
else
94
- super(method_name, *args, &block)
+ super
95
end
96
97
98
- def respond_to_missing?(method_name, *args)
+ def respond_to_missing?(...)
99
100
- respond_to?(method_name, *args)
+ respond_to?(...)
101
102
- super(method_name, *args)
103
104
105
0 commit comments