machinery v0.14.0 Machinery.Router.Helpers View Source

Module with named helpers generated from Machinery.Router.

Link to this section Summary

Link to this section Functions

Generates the path information including any necessary prefix.

Link to this function resource_path(conn_or_endpoint, action) View Source
Link to this function resource_path(conn_or_endpoint, action, params) View Source
Link to this function resource_path(conn_or_endpoint, action, id, params) View Source
Link to this function resource_path(conn_or_endpoint, action, state, page, params) View Source
Link to this function resource_url(conn_or_endpoint, action) View Source
Link to this function resource_url(conn_or_endpoint, action, params) View Source
Link to this function resource_url(conn_or_endpoint, action, id, params) View Source
Link to this function resource_url(conn_or_endpoint, action, state, page, params) View Source

Generates path to a static asset given its file path.

Generates url to a static asset given its file path.

Generates the connection/endpoint base URL without any path information.