T typedef

RouterHandler

Properties

name : string | null

The name of the route

route : RegExp

The regular expression that matches the route

callback : Object | function

The handler for the route

callback.controller : * optional

The controller class or instance

callback.action : string optional

The action to invoke on the controller