diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
addViewRoute
diamond
http
routing
Adds a route to a view.
static if
(
isWeb
)
static if
(
isWebServer
)
void
addViewRoute
(
string
route
,
string
viewName
)
Parameters
route
string
The route.
viewName
string
The view name.
Meta
Source
See Implementation
diamond
http
routing
classes
Route
RouteEntry
Routes
enums
RouteMode
SpecializedRouteType
functions
addSpecializedRoute
addViewRoute
getViewNameFromRoute
handleRoute
handleSpecializedRoute
properties
hasRoutes
hasSpecializedRoutes
Adds a route to a view.