call(env)
public
Makes the controller a Rack endpoint that runs
the action in the
given env's action_dispatch.request.path_parameters key.
# File actionpack/lib/action_controller/metal.rb, line 225
def self.call(env)
req = ActionDispatch::Request.new env
action(req.path_parameters[:action]).call(env)
end