Skip to content

Commit 314566c

Browse files
committed
fix: planuml generation, fixes #188
1 parent d6ee69b commit 314566c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/StateMachines/Plantuml.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
final class Plantuml implements ExportInterface
1111
{
12-
private const DEFAULT_PATH = __DIR__ . '/../../Resources/views/';
12+
private const DEFAULT_PATH = __DIR__ . '/../../Resources/views/administration/plantuml';
1313

1414
private Environment $twig;
1515

@@ -25,7 +25,7 @@ public function __construct()
2525

2626
public function export(StateMachineEntity $stateMachine, string $title = ''): string
2727
{
28-
return $this->twig->render('administration/plantuml/state-machine.puml.twig', [
28+
return $this->twig->render('state-machine.puml.twig', [
2929
'title' => $title,
3030
'initialState' => $stateMachine->getInitialState(),
3131
'states' => $stateMachine->getStates()?->getElements(),

0 commit comments

Comments
 (0)