has root => (is => 'ro', isa => 'Controller'); router ['HTTPMethod'] => as { route '/' => 'root'; }, (root => 'root');