$findRouteByName (DEPRECATED)

Deprecation Notice

This instance method has been deprecated and will be removed in a future release. Do not build new code with it, and existing usage should be removed.

The functionality provided by this method is considered valuable and will be replaced before being removed. This implementation is being removed as it leaks write access to the routing tree, including routes defined by other modules.

Introduction

The $findRouteByName instance method connects to the internal EJS router, returning a route definition matching the given name. This method is useful for determining the structure of the routing tree, enabling useful features like navigation breadcrumbs.

Last updated