Skip to main content

set-resource-path!

function

selmer.parser/set-resource-path!

(set-resource-path! [path])
set custom location, where templates are being searched for. path may be a java.net.URL instance or a string. If it's a string, we first try to convert it to a java.net.URL instance and if it doesn't work it's interpreted as a path in the local filesystem.

No examples yet. Be the first to add one!