Merge pull request #2 from benjamindavid/master

Replaced hookRegisterCpRoutes() deprecated method by registerCpRoutes()