[5.0] Routing : check controller only once

Useless to check class for each method.