Add additional url argument to prevent caching

This commit is contained in:
Björn Fromme committed 2019-08-15 16:06:30 +02:00
1 parent f621f2fec9
commit 697ffed963
1 file changed
+3
@@ -79,6 +79,9 @@ class AjaxViewHelper extends ActionViewHelper
// Force absolute urls
$arguments['absolute'] = true;
// Add timestamp as additional argument to prevent caching
$arguments['additionalParams'] = ['t' => time()];
return parent::renderStatic(
$arguments,
$renderChildrenClosure,