getViewNameFromRoute

Gets the view name from a custom route.

package
static if(isWeb)
static if(isWebServer)
string
getViewNameFromRoute
(
string route
)

Parameters

route string

The route used to retrieve the view name.

Return Value

Type: string

The view name if routable, null otherwise.

Meta