TemplateController: pass auth

This commit is contained in:
Thomas Gelf 2023-10-12 08:43:58 +02:00
parent 48db90c7df
commit a2abbd326b

View File

@ -213,7 +213,7 @@ abstract class TemplateController extends CompatController
try { try {
$this->content()->add( $this->content()->add(
TemplateUsageTable::forTemplate($template, $this->getBranch()) TemplateUsageTable::forTemplate($template, $this->Auth(), $this->getBranch())
); );
} catch (NestingError $e) { } catch (NestingError $e) {
$this->content()->add(Hint::error($e->getMessage())); $this->content()->add(Hint::error($e->getMessage()));