Skip to content

Commit fff1cea

Browse files
committed
Allow trailing slash for routing to ideas
1 parent 0ba3174 commit fff1cea

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

config/routing.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
phpbb_ideas_index_controller:
2-
path: /ideas
3-
defaults: { _controller: phpbb.ideas.index_controller:index }
2+
path: /ideas{trailing}
3+
defaults: { _controller: phpbb.ideas.index_controller:index, trailing: '' }
4+
requirements:
5+
trailing: '/?'
46

57
phpbb_ideas_idea_controller:
68
path: /idea/{idea_id}

0 commit comments

Comments
 (0)