Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
namespace templates for backend templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cdowdy committed Sep 14, 2017
1 parent 24ef8b4 commit 7e9f2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyPNGExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ protected function registerBackendControllers() {
* {@inheritdoc}
*/
protected function registerTwigPaths() {
return [ 'templates' ];
return [ 'templates'=> [ 'position' => 'prepend', 'namespace'=>'tinypng'] ];
}
}

0 comments on commit 7e9f2c7

Please sign in to comment.