ScalesCmsWeb.Plugs.Assets (scales_cms v0.2.0)

Copy Markdown

Plug to serve specific assets for the CMS. Inspired from the LiveView Dashboard way of serving assets

Summary

Functions

Returns the current hash for the given asset.

Functions

call(conn, asset)

current_hash(atom)

Returns the current hash for the given asset.

init(asset)