Skip to content

Commit 621d19b

Browse files
Add correct basePath.
1 parent 6c11b8b commit 621d19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static function watch() {
123123
unset( $templates[ $k ] );
124124
}
125125

126-
$_templates[] = trailingslashit( self::$layout_dir ) . $template;
126+
$_templates[] = trailingslashit( self::$base_path ) . trailingslashit( self::$layout_dir ) . $template;
127127
}
128128

129129
// Merge with original. This allows child themes to avoid /resources/views/ structure.

0 commit comments

Comments
 (0)