* Register a route handler * @param {String} name Name of the route * @param {Function} handler Route handler
(name, handler)
| 49 | * @param {Function} handler Route handler |
| 50 | */ |
| 51 | registerRoute(name, handler) { |
| 52 | this.routes[name] = handler; |
| 53 | return this; |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Update the available generators in the app |
no outgoing calls
no test coverage detected