Skip to content

Configuration

mapper()

mapper() — returns struct

Available in: controller, model, migrator Category: Routing

Returns the mapper object used to configure your application’s routes. Usually you will use this method in config/routes.cfm to start chaining route mapping methods like resources, namespace, etc.

NameTypeRequiredDefaultDescription
restfulbooleannotrue
methodsbooleanno[runtime expression]