diff --git a/src/Traits/SluggableModelTrait.php b/src/Traits/SluggableModelTrait.php index cac53c6..a848f70 100644 --- a/src/Traits/SluggableModelTrait.php +++ b/src/Traits/SluggableModelTrait.php @@ -23,7 +23,7 @@ trait SluggableModelTrait */ public function makeSlug($value) { - $value = preg_replace('/[^a-zA-Z0-9\-\_]+/', '_', $value); + $value = preg_replace('/[^a-zA-Z0-9\-\_]+/', '-', $value); return strtolower($value); }