Updating Repository redirects to mirror settings

Summary

Updating Repository redirects to mirror settings

Steps to reproduce

  1. Go to https://gitlab.com/yoginth/gitlab-ce/branches
  2. Click Update Now button
  3. It will redirect to https://gitlab.com/yoginth/gitlab-ce/settings/repository#js-push-remote-settings

Example Project

https://gitlab.com/yoginth/gitlab-ce

What is the current bug behavior?

Updating Repository redirects to mirror settings

What is the expected correct behavior?

Updating Repository can redirect to Project homepage or in the same branches page

Output of checks

This bug happens on GitLab.com

Assignee Loading
Time tracking Loading