Skip to content

Commit ca4c1a7

Browse files
committed
sm v2 for error preview
1 parent 2aa20f6 commit ca4c1a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/module.config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
return [
99

1010
'controllers' => [
11+
'invokables' => [
12+
// sm v2 compat
13+
Controller\ErrorPreviewController::class => Controller\ErrorPreviewController::class,
14+
],
1115
'factories' => [
16+
// sm v3
1217
Controller\ErrorPreviewController::class => InvokableFactory::class,
1318
],
1419
],

0 commit comments

Comments
 (0)