navigation

Links

Namespace: Saturn
Parent: Saturn

Convention-based links to other actions to perform on the current request model.


Values and Functions
Name Description
index(ctx)
Signature: ctx:HttpContext -> string

Returns a link to the index action for the current model.

add(ctx)
Signature: ctx:HttpContext -> string

Returns a link to the add action for the current model.

withId ctx id
Signature: ctx:HttpContext -> id:'?39568 -> string

Returns a link to the withId action for a particular resource of the same type as the current request.

edit ctx id
Signature: ctx:HttpContext -> id:'?39570 -> string

Returns a link to the edit action for a particular resource of the same type as the current request.