Skip to content

Commit

Permalink
nuvolewebGH-328: Remove leading slash from theme paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed May 18, 2021
1 parent cd03369 commit 2b3534c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin/PatternBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
abstract class PatternBase extends PluginBase implements PatternInterface, ContainerFactoryPluginInterface {

/**
* The app root.
* The app root, with trailing slash.
*
* @var string
*/
Expand All @@ -34,7 +34,7 @@ abstract class PatternBase extends PluginBase implements PatternInterface, Conta
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, $root, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->root = $root;
$this->root = $root . '/';
$this->moduleHandler = $module_handler;
}

Expand Down

0 comments on commit 2b3534c

Please sign in to comment.