Skip to content

Commit

Permalink
Change from _ to -
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel LaBarge authored Oct 26, 2016
1 parent 383c460 commit e2565f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/SluggableModelTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e2565f1

Please sign in to comment.