[ticket/12090] Pass route name to url() instead of the url itself

http://tracker.phpbb.com/browse/PHPBB3-12090