is there a way to change a route without changing the routing.yml?
For example forum-feeds:
Code: Select all
$url = $controller_helper->route('phpbb_feed_forum', array('forum_id' => $forum_id));
Code: Select all
phpbb_feed_forum:
path: /forum/{forum_id}
defaults: { _controller: phpbb.feed.controller:forum }
requirements:
forum_id: \d+
Code: Select all
path: /forum/feeds/{forum_id}