Skip to content

Commit

Permalink
Add pods/templates/$template_name to the list of Pods templates hiera…
Browse files Browse the repository at this point in the history
…rchy
  • Loading branch information
sc0ttkclark committed Sep 3, 2024
1 parent a3d2fdc commit 77aa5e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Templates/Templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ public static function template( $template_name, $code = null, $obj = null, $dep
}
} elseif ( $template_name == trim( preg_replace( '/[^a-zA-Z0-9_\-\/]/', '', $template_name ), ' /-' ) ) {
$default_templates = array(
'pods/templates/' . $template_name,
'pods/' . $template_name,
'pods-' . $template_name,
$template_name,
Expand Down

0 comments on commit 77aa5e1

Please sign in to comment.