Phoenix.LiveReloader.Helpers

Module with named helpers generated from Phoenix.LiveReloader.

Source

Summary

frame_path(conn_or_endpoint, atom2)
frame_path(conn_or_endpoint, atom2, params)
frame_url(conn_or_endpoint, atom2)
frame_url(conn_or_endpoint, atom2, params)
path(conn, 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(conn)

Generates the connection/endpoint base URL without any path information

Functions

frame_path(conn_or_endpoint, atom2)
Source
frame_path(conn_or_endpoint, atom2, params)
Source
frame_url(conn_or_endpoint, atom2)
Source
frame_url(conn_or_endpoint, atom2, params)
Source
path(conn, path)

Generates the path information including any necessary prefix.

Source
static_path(conn, path)

Generates path to a static asset given its file path.

It expects either a conn or an endpoint.

Source
static_url(conn, path)

Generates url to a static asset given its file path.

It expects either a conn or an endpoint.

Source
url(conn)

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

Source