Configuration
mapper()
Signature
Section titled “Signature”mapper() — returns struct
Available in: controller, model, migrator
Category: Routing
Description
Section titled “Description”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.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
restful | boolean | no | true | |
methods | boolean | no | [runtime expression] |