shield v0.7.3 Shield.Router.Helpers

Module with named helpers generated from Shield.Router.

Link to this section 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.

Link to this section Functions

Link to this function

app_path(conn_or_endpoint, action)

Link to this function

app_path(conn_or_endpoint, action, params)

Link to this function

app_path(conn_or_endpoint, action, id, params)

Link to this function

app_url(conn_or_endpoint, action)

Link to this function

app_url(conn_or_endpoint, action, params)

Link to this function

app_url(conn_or_endpoint, action, id, params)

Link to this function

client_path(conn_or_endpoint, action)

Link to this function

client_path(conn_or_endpoint, action, params)

Link to this function

client_path(conn_or_endpoint, action, id, params)

Link to this function

client_url(conn_or_endpoint, action)

Link to this function

client_url(conn_or_endpoint, action, params)

Link to this function

client_url(conn_or_endpoint, action, id, params)

Link to this function

path(data, path)

Generates the path information including any necessary prefix.

Link to this function

setting_path(conn_or_endpoint, action)

Link to this function

setting_path(conn_or_endpoint, action, params)

Link to this function

setting_path(conn_or_endpoint, action, id, params)

Link to this function

setting_url(conn_or_endpoint, action)

Link to this function

setting_url(conn_or_endpoint, action, params)

Link to this function

setting_url(conn_or_endpoint, action, id, params)

Link to this function

static_path(conn, path)

Generates path to a static asset given its file path.

Link to this function

static_url(conn, path)

Generates url to a static asset given its file path.

Link to this function

token_path(conn_or_endpoint, action)

Link to this function

token_path(conn_or_endpoint, action, id)

Link to this function

token_path(conn_or_endpoint, action, id, params)

Link to this function

token_url(conn_or_endpoint, action)

Link to this function

token_url(conn_or_endpoint, action, id)

Link to this function

token_url(conn_or_endpoint, action, id, params)

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

Link to this function

user_path(conn_or_endpoint, action)

Link to this function

user_path(conn_or_endpoint, action, params)

Link to this function

user_url(conn_or_endpoint, action)

Link to this function

user_url(conn_or_endpoint, action, params)