Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kbond
Copy link
Contributor

@kbond kbond commented Apr 18, 2014

In the docs, it says you can access the slugify service via:

$slug = $this->get('slugify')->slugify('Hello World!');

This does not work currently - you need to use:

$slug = $this->get('cocur_slugify')->slugify('Hello World!');

This PR adds a slugify service alias to allow the code in the docs to work.

florianeckerstorfer pushed a commit that referenced this pull request Apr 18, 2014
add service alias for slugify
@florianeckerstorfer florianeckerstorfer merged commit a462570 into cocur:master Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants