AdminElf.Resource.Router.Helpers (admin_elf v0.4.3) View Source

Module with named helpers generated from AdminElf.Resource.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, resource_id)

View Source
Link to this function

resource_path(conn_or_endpoint, action, resource_id, params)

View Source
Link to this function

resource_path(conn_or_endpoint, action, resource_id, item_id, params)

View Source
Link to this function

resource_path(conn_or_endpoint, action, resource_id, item_id, action_name, params)

View Source
Link to this function

resource_url(conn_or_endpoint, action, resource_id)

View Source
Link to this function

resource_url(conn_or_endpoint, action, resource_id, params)

View Source
Link to this function

resource_url(conn_or_endpoint, action, resource_id, item_id, params)

View Source
Link to this function

resource_url(conn_or_endpoint, action, resource_id, item_id, action_name, params)

View Source
Link to this function

static_integrity(endpoint, path)

View Source

Generates an integrity hash to a static asset given its file path.

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.