infuse v0.3.5 Infuse.Simplates.Loader

Exact match routes, eg: index.html => index.html Bound Simplate routes, eg: index.html.spt => index.html Unbound Simplate routes, eg: index.spt => [index.json, index.xml]

Summary

Functions

autoload(dir)

Traverse the Simplates directory and load each file & register routes

determine_routes(simplate)
load(path)
remove_webroot(fs_path)
start_link(web_root)
wildcard_route(simplate)