We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<a/>
1 parent b3b9a51 commit a15c854Copy full SHA for a15c854
src/Support/Clockwork/Converter.php
@@ -70,12 +70,12 @@ public function convert($data)
70
$controller = $route['uses'];
71
}
72
73
- $output['controller'] = $controller;
+ $output['controller'] = preg_replace('/<a\b[^>]*>(.*?)<\/a>/i', '', (string) $controller) ?: null;
74
75
list($method, $uri) = explode(' ', $route['uri'], 2);
76
77
$output['routes'][] = [
78
- 'action' => $controller,
+ 'action' => $output['controller'],
79
'after' => isset($route['after']) ? $route['after'] : null,
80
'before' => isset($route['before']) ? $route['before'] : null,
81
'method' => $method,
0 commit comments