We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6ee69b commit 314566cCopy full SHA for 314566c
src/Components/StateMachines/Plantuml.php
@@ -9,7 +9,7 @@
9
10
final class Plantuml implements ExportInterface
11
{
12
- private const DEFAULT_PATH = __DIR__ . '/../../Resources/views/';
+ private const DEFAULT_PATH = __DIR__ . '/../../Resources/views/administration/plantuml';
13
14
private Environment $twig;
15
@@ -25,7 +25,7 @@ public function __construct()
25
26
public function export(StateMachineEntity $stateMachine, string $title = ''): string
27
28
- return $this->twig->render('administration/plantuml/state-machine.puml.twig', [
+ return $this->twig->render('state-machine.puml.twig', [
29
'title' => $title,
30
'initialState' => $stateMachine->getInitialState(),
31
'states' => $stateMachine->getStates()?->getElements(),
0 commit comments