Skip to content

Redirect to group boards with params from old path

Sean McGivern requested to merge fix-group-boards-redirect into master

What does this MR do?

Extends the existing 'legacy' group boards redirect to support extra path and query components.

Are there points in the code the reviewer needs to double check?

Note that because there is no path matching a group followed by an integer, this redirect will work for individual boards even if there is a subgroup called 'boards'. I think this is quite nice, but YMMV.

Why was this MR needed?

Going to /groups/$group/boards redirected, but /groups/$group/boards/foo didn't!

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/3922.

Merge request reports