[ticket/11497] Generate the list of the routes in controller_helper

PHPBB3-11497