Return to v2.0 docs

mapper()


Configuration Routing struct controller model migrator


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.

Name Type Required Default Description
restful boolean No true
methods boolean No [runtime expression]

Related Functions

Routing