Configuration
end()
Signature
Section titled “Signature”end() — returns struct
Available in: mapper
Category: Routing
Description
Section titled “Description”Call this to end a nested routing block or the entire route configuration. This method is chained on a sequence of routing mapper method calls started by mapper().
Examples
Section titled “Examples”<cfscript>
mapper()
.namespace("admin")
.resources("products")
.end() // Ends the `namespace` block.
.scope(package="public")
.resources(name="products", nested=true)
.resources("variations")
.end() // Ends the nested `resources` block.
.end() // Ends the `scope` block.
.end(); // Ends the `mapper` block.
</cfscript>