Skip to content

Commit 2b3534c

Browse files
committed
nuvolewebGH-328: Remove leading slash from theme paths.
1 parent cd03369 commit 2b3534c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin/PatternBase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
abstract class PatternBase extends PluginBase implements PatternInterface, ContainerFactoryPluginInterface {
1717

1818
/**
19-
* The app root.
19+
* The app root, with trailing slash.
2020
*
2121
* @var string
2222
*/
@@ -34,7 +34,7 @@ abstract class PatternBase extends PluginBase implements PatternInterface, Conta
3434
*/
3535
public function __construct(array $configuration, $plugin_id, $plugin_definition, $root, ModuleHandlerInterface $module_handler) {
3636
parent::__construct($configuration, $plugin_id, $plugin_definition);
37-
$this->root = $root;
37+
$this->root = $root . '/';
3838
$this->moduleHandler = $module_handler;
3939
}
4040

0 commit comments

Comments
 (0)