Changed 'middlewares' routes config option to 'middleware'.
Removed whitespaces.