cakephp/cakephp — pull request #3508 by jrbasso (2014-05-16 13:03:20+00:00)
Title: 3.0 middleware events with route

It adds support to use routes on middleware conditions. It means you can use "regex" on the `for` condition.