View.action

Gets a route that fits an action for the current route.

class View
final
static if(isWebServer)
string
action
(
string actionName
)

Parameters

actionName string

The name of the action to get.

Return Value

Type: string

A new constructed route with the given action name.

Meta