We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d37237 commit b9fd06dCopy full SHA for b9fd06d
1 file changed
src/think/route/RuleGroup.php
@@ -613,6 +613,7 @@ protected function bindToNamespace(Request $request, string $url, string $namesp
613
$array = explode('/', $url, 3);
614
$class = !empty($array[0]) ? $array[0] : $this->config('default_controller');
615
$method = !empty($array[1]) ? $array[1] : $this->config('default_action');
616
+ $class .= $this->config('controller_suffix') ? 'Controller' : '';
617
618
if (!empty($array[2])) {
619
$this->parseUrlParams($array[2], $param);
0 commit comments