Skip to content
Snippets Groups Projects
Unverified Commit 38205eae authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Add an asset() function to twig.

This function can be used to load an asset from a twig template, adding a "tag" parameter to it with a few dynamic bytes depending on the version of SimpleSAMLphp, or the last modification time of the file if we are running master. This behaves as a cache-buster, forcing browsers to reload assets when a new version of SimpleSAMLphp gets installed.
parent 0bc66fe1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment