diff --git a/composer.json b/composer.json index 1795d87f..246a82bb 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "type": "phpbb-extension", "description": "phpBB Ideas centre for phpBB 3.2.", "homepage": "https://www.phpbb.com", - "version": "2.1.5", + "version": "2.1.6", "license": "GPL-2.0", "authors": [ { diff --git a/config/routing.yml b/config/routing.yml index ddcc7e31..e8fe4fb5 100644 --- a/config/routing.yml +++ b/config/routing.yml @@ -1,6 +1,8 @@ phpbb_ideas_index_controller: - path: /ideas - defaults: { _controller: phpbb.ideas.index_controller:index } + path: /ideas{trailing} + defaults: { _controller: phpbb.ideas.index_controller:index, trailing: '' } + requirements: + trailing: '/?' phpbb_ideas_idea_controller: path: /idea/{idea_id}