Improved routing

This way, it would be still compatible with the current Redmine Release.