diff --git a/app/View/Components/SearchString.php b/app/View/Components/SearchString.php index 86315ee12..9063929e3 100644 --- a/app/View/Components/SearchString.php +++ b/app/View/Components/SearchString.php @@ -163,7 +163,7 @@ class SearchString extends Component if (strpos($this->model, 'Modules') !== false) { $module_class = explode('\\', $this->model); - $url .= Str::slug($module_class[1], '-') . '::'; + $url .= Str::kebab($module_class[1]) . '::'; } if (strpos($column, '_id') !== false) {