Skip to content

Commit bcce530

Browse files
committed
Fixing delimiter bug #205
1 parent 69ad926 commit bcce530

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

config/tagging.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@
2020
// Auto-delete unused tags from the 'tags' database table (when they are used zero times)
2121
'delete_unused_tags' => false,
2222

23-
// Model to use to store the tags in the database
24-
'tag_model' => '\Conner\Tagging\Model\Tag',
25-
2623
// Delimiter used within tags
2724
'delimiter' => '-',
2825

26+
// Model to use to store the tags in the database
2927
'tag_model' => '\Conner\Tagging\Model\Tag',
3028

3129
'tagged_model' => '\Conner\Tagging\Model\Tagged',

src/TaggingUtility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static function slug($str)
7272
$str = mb_convert_encoding((string)$str, 'UTF-8');
7373

7474
$options = [
75-
'delimiter' => config('taggable.delimiter', '-'),
75+
'delimiter' => config('tagging.delimiter', '-'),
7676
'limit' => '255',
7777
'lowercase' => true,
7878
'replacements' => [],

0 commit comments

Comments
 (0)