ActionView::Template::Error: Projects::NetworkController#show
Sentry error: https://new-sentry.gitlab.net/organizations/gitlab/issues/816052
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/network", :id=>"master/ ", :namespace_id=>#<Group>, :project_id=>#<Project>, :ref_type=>"heads"}, possible unmatched constraints: [:id]
Did you mean? namespace_project_network_path
from actionpack (7.0.8.4) lib/action_dispatch/journey/formatter.rb:44:in `path'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:824:in `url_for'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:271:in `call'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:327:in `block in define_url_helper'
from config/routes.rb:332:in `block (4 levels) in <main>'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:645:in `instance_exec'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:645:in `eval_block'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:634:in `call'
from actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:156:in `block (2 levels) in add_url_helper'
from app/views/projects/network/show.html.haml:3
Problem
We don't pass a correct reference to URL creation method.