Skip to content

ConfigRouter

szeber edited this page Jun 13, 2012 · 2 revisions

The ConfigRouter works the same as the ArrayRouter, with the only exception, that the ArrayRouter expects the route array as a constructor parameter, while the ConfigRouter expects the name of the route configuration option, that holds the routing array. The route configuration should be placed in the resource.routing.<configName> value, and only configName should be passed as the constructor parameter.

Clone this wiki locally