Update Route matches

Reduced code. Fixed uppercase for params (controller, category).
your code call function -> function create object -> function call object in cycle, 
how it can work faster?