|
@@ -21,9 +21,9 @@ |
|
|
block discarded – undo |
|
21
|
21
|
$controller = $attributes['controller'].'Controller'; |
|
22
|
22
|
$action = $attributes['action'].'Action'; |
|
23
|
23
|
|
|
24
|
|
- $namespace = '\\App\\Controller\\'; |
|
|
24
|
+ $namespace = '\\App\\Controller\\'; |
|
25
|
25
|
if (!class_exists($namespace.$controller)) { |
|
26
|
|
- $namespace = '\\Lib\\Controller\\'; |
|
|
26
|
+ $namespace = '\\Lib\\Controller\\'; |
|
27
|
27
|
} |
|
28
|
28
|
$response = ($namespace.$controller)::create()->$action($request, ...$attributes['params']); |
|
29
|
29
|
|
Please login to merge, or discard this patch.