class method
self.use
Ruby on Rails 7.0.10
Since v3.0.20Signature
self.use(...)
Pushes the given Rack middleware and its arguments to the bottom of the middleware stack.
Parameters
-
...req
Source
# File actionpack/lib/action_controller/metal.rb, line 220
def use(...)
middleware_stack.use(...)
end
Defined in actionpack/lib/action_controller/metal.rb line 220
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Metal