Pass base_path to frontend for admin groups/projects

What does this MR do and why?

Related to #560248 (closed)

The admin group and project pages use Vue with Vue Router. Currently we have hard coded the base paths on the frontend for Vue router. This can lead to bugs and is less flexible. We want to update the base path based on guidance in https://docs.gitlab.com/development/fe_guide/vue/#vue-router

This MR passes base_path from Rails so it can be used on the frontend. To avoid multi-version compatibility issues this MR does not yet use the base_path on the frontend. This will be done in a separate MR.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading