Replace resource route with handles().

Signed-off-by: crynobone <crynobone@gmail.com>