class ActionController::Metal

def self.call(env)

+env+'s +action_dispatch.request.path_parameters+ key.
Makes the controller a Rack endpoint that runs the action in the given
def self.call(env)
  req = ActionDispatch::Request.new env
  action(req.path_parameters[:action]).call(env)
end