Skip to content

Commit

Permalink
Add correct basePath.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerfinnell committed Jun 15, 2018
1 parent 6c11b8b commit 621d19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static function watch() {
unset( $templates[ $k ] );
}

$_templates[] = trailingslashit( self::$layout_dir ) . $template;
$_templates[] = trailingslashit( self::$base_path ) . trailingslashit( self::$layout_dir ) . $template;
}

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

0 comments on commit 621d19b

Please sign in to comment.