Back
root()
<cfscript> mapper() .namespace("api") // Map the root of the `api` folder to the `index` action of the `apis` // controller. .root(controller="apis", action="index") .end() // Map the root of the application to the `show` action of the `dashboards` // controller. .root(to="dashboards##show") .end(); </cfscript>
Copied!