Update Route::matches()

Reduced code. Fixed uppercase for params (controller, category).