BaseController.mapAction

Maps an action to a http method by a name.

  1. void mapAction(HttpMethod method, string action, Action fun)
    class BaseController
    protected final
    void
    mapAction
    (
    HttpMethod method
    ,
    string action
    ,)
  2. void mapAction(HttpMethod method, string action, Status delegate() d)
  3. void mapAction(HttpMethod method, string action, Status function() f)

Parameters

method HttpMethod

The http method.

action string

The action name.

fun Action

The controller action associated with the mapping.

Meta