Fix user recent activity links for work item actions
What does this MR do and why?
Fixes links on the Activity
list of a user profile for work item events.
The default behavior to build a url did not contemplate how to build a work item url, so we need a special rule.
How to set up and validate locally
- Add a
task
to an issue (new feature) - Your activity feed in
/<username>
should show a broken link before this changeproject_path/work_items/IID
- With this MR the link should be correct
project_path/work_items/ID
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #371209 (closed)
Edited by Mario Celi