Configuration
Configuration
addFormat()— Adds a new MIME type to your CFWheels application for use with responding to multiple formats.collection()— A collection route doesn’t require an id because it acts on a collection of objects.constraints()— Set variable patterns to use for matching.controller()— Considered deprecated as this doesn’t conform to RESTful routing principles; Try not to use this.delete()— Create a route that matches a URL requiring an HTTPDELETEmethod. We recommend using this matcher to exposend()— Call this to end a nested routing block or the entire route configuration. This method is chained on a sequence of routiget()— Create a route that matches a URL requiring an HTTPGETmethod. We recommend only using this matcher to expget()— Returns the current setting for the supplied CFWheels setting or the current default for the supplied CFWheels functionmapper()— Returns the mapper object used to configure your application’s routes. Usually you will use this method inconfig/member()— Scope routes within a nested resource which require use of the primary key as part of the URL pattern;namespace()— Scopes any the controllers for any routes configured within this block to a subfolder (package) and also adds the packagpackage()— Scopes any the controllers for any routes configured within this block to a subfolder (package) without adding the packapatch()— Create a route that matches a URL requiring an HTTPPATCHmethod. We recommend using this matcher to exposepost()— Create a route that matches a URL requiring an HTTPPOSTmethod. We recommend using this matcher to exposeput()— Create a route that matches a URL requiring an HTTPPUTmethod. We recommend using this matcher to expose aresource()— Create a group of routes that exposes actions for manipulating a singular resource. A singular resource exposes URL pattresources()— Create a group of routes that exposes actions for manipulating a collection of resources. A plural resource exposes URLroot()— Create a route that matches the root of its current context. This mapper can be used for the application’s web root (orscope()— Set any number of parameters to be inherited by mappers called within this matcher’s block. For example, set a package oset()— Use to configure a global setting or set a default for a function.wildcard()— Special wildcard matching generates routes with `