drab v0.4.1 DrabTestApp.Router.Helpers

Module with named helpers generated from DrabTestApp.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

broadcast1_path(conn_or_endpoint, action)
broadcast1_path(conn_or_endpoint, action, params)
broadcast1_url(conn_or_endpoint, action)
broadcast1_url(conn_or_endpoint, action, params)
broadcast2_path(conn_or_endpoint, action)
broadcast2_path(conn_or_endpoint, action, params)
broadcast2_url(conn_or_endpoint, action)
broadcast2_url(conn_or_endpoint, action, params)
broadcast3_path(conn_or_endpoint, action)
broadcast3_path(conn_or_endpoint, action, params)
broadcast3_url(conn_or_endpoint, action)
broadcast3_url(conn_or_endpoint, action, params)
broadcast4_path(conn_or_endpoint, action)
broadcast4_path(conn_or_endpoint, action, params)
broadcast4_url(conn_or_endpoint, action)
broadcast4_url(conn_or_endpoint, action, params)
browser_path(conn_or_endpoint, action)
browser_path(conn_or_endpoint, action, params)
browser_url(conn_or_endpoint, action)
browser_url(conn_or_endpoint, action, params)
core_path(conn_or_endpoint, action)
core_path(conn_or_endpoint, action, params)
core_url(conn_or_endpoint, action)
core_url(conn_or_endpoint, action, params)
different_url_path(conn_or_endpoint, action)
different_url_path(conn_or_endpoint, action, params)
different_url_url(conn_or_endpoint, action)
different_url_url(conn_or_endpoint, action, params)
index_path(conn_or_endpoint, action)
index_path(conn_or_endpoint, action, params)
index_url(conn_or_endpoint, action)
index_url(conn_or_endpoint, action, params)
live_path(conn_or_endpoint, action)
live_path(conn_or_endpoint, action, params)
live_url(conn_or_endpoint, action)
live_url(conn_or_endpoint, action, params)
path(data, path)

Generates the path information including any necessary prefix.

query_path(conn_or_endpoint, action)
query_path(conn_or_endpoint, action, params)
query_url(conn_or_endpoint, action)
query_url(conn_or_endpoint, action, params)
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.

waiter_path(conn_or_endpoint, action)
waiter_path(conn_or_endpoint, action, params)
waiter_url(conn_or_endpoint, action)
waiter_url(conn_or_endpoint, action, params)