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