octobercms/library — pull request #37 by Flynsarmy (2014-08-04 07:19:52+00:00)
Title: Add slugsSeparator option

This PR adds an option to set the separator used in the Sluggable trait. Defaults to `-`

## Usage

```php
class Category extends Model
{
use \October\Rain\Database\Traits\Sluggable;

public $slugs = ['slug' => 'title'];
public $slugsSeparator = '_';
...
}
```