Correct the documentation for the slugify function

The previous requirements are incorrect, the method needs to accept two
parameters.
Merge pull request #378 from d0ugal/docs-fix

Correct the documentation for the slugify function