ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/blob", :id=>nil, :namespace_id=>#<Group...

https://sentry.gitlab.net/gitlab/gitlabcom/issues/1661485/?referrer=gitlab_plugin

ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/blob", :id=>nil, :namespace_id=>#<Group id:9970 @gitlab-org>, :project_id=>#<Project id:13083 gitlab-org/gitlab-foss>>}, possible unmatched constraints: [:id]
  action_dispatch/journey/formatter.rb:57:in `generate'
    raise ActionController::UrlGenerationError, message
  action_dispatch/routing/route_set.rb:738:in `generate'
    @set.formatter.generate(named_route, options, recall, PARAMETERIZE)
  action_dispatch/routing/route_set.rb:769:in `generate'
    Generator.new(route_key, options, recall, self).generate
  action_dispatch/routing/route_set.rb:816:in `url_for'
    path, params = generate(route_name, path_options, recall)
  action_dispatch/routing/route_set.rb:269:in `call'
    t._routes.url_for(hash, route_name, url_strategy)
...
(169 additional frame(s) were not displayed)

ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/blob", :id=>nil, :namespace_id=>#<Group id:9970 @gitlab-org>, :project_id=>#<Project id:13083 gitlab-org/gitlab-foss>>}, possible unmatched constraints: [:id]