ActionController::UrlGenerationError: No route matches {:action=>"commits", :controller=>"projects/graphs"

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

ActionController::UrlGenerationError: No route matches {:action=>"commits", :controller=>"projects/graphs", :id=>"master/1<redacted>", :namespace_id=>#<Group id:>, :project_id=>#<Project id:>>}, possible unmatched constraints: [:id]
Did you mean?  commits_namespace_project_graph_path
  config/routes.rb:317:in `block (4 levels) in <main>'
    send("#{name}_url", project&.namespace, project, *args)
  app/controllers/projects/refs_controller.rb:41:in `block (2 levels) in switch'
    commits_project_graph_path(@project, @id)
  app/controllers/projects/refs_controller.rb:18:in `switch'
    respond_to do |format|
  app/controllers/application_controller.rb:533:in `set_current_admin'
    return yield unless Gitlab::CurrentSettings.admin_mode
  lib/gitlab/session.rb:11:in `with_session'
    yield
...
(160 additional frame(s) were not displayed)
Edited by Vasilii Iakliushin