Skip to content

Commit

Permalink
Slug for tags (#38)
Browse files Browse the repository at this point in the history
Auto generation of the tag slug
  • Loading branch information
motchju authored and nWidart committed May 24, 2016
1 parent 4b4f6cc commit 8e750b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repositories/Eloquent/EloquentTagRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function createForLanguage($lang = 'en', $name)
$data = [
$lang => [
'name' => $name,
'slug' => ''
'slug' => str_slug($name)
],
];

Expand Down

0 comments on commit 8e750b1

Please sign in to comment.