Merge pull request #1 from kcristiano/4.5

Move functions to enable hook
add trailing slash to slug

Cleaner url with the trailing slash
Merge pull request #2 from kcristiano/master

add trailing slash