flames v0.2.4 Flames.Router.Helpers

Module with named helpers generated from Flames.Router.

Summary

Functions

Generates the path information including any necessary prefix

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

Functions

errors_path(conn_or_endpoint, action)
errors_path(conn_or_endpoint, action, params)
errors_path(conn_or_endpoint, action, id, params)
errors_url(conn_or_endpoint, action)
errors_url(conn_or_endpoint, action, params)
errors_url(conn_or_endpoint, action, id, params)
path(data, path)

Generates the path information including any necessary prefix.

static_path(conn, path)

Generates path to a static asset given its file path.

static_url(conn, path)

Generates url to a static asset given its file path.

url(data)

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