Skip to content

ActionView::Template::Error: undefined method `builds_namespace_project_merge_request_path' for #...

https://sentry.gitlap.com/gitlab/gitlabcom/issues/17267/

A "your build failed" TODO seems to break the dashboard view at the moment

NoMethodError: undefined method `builds_namespace_project_merge_request_path' for #<#<Class:0x007f72f1279820>:0x007f72f122c3e0>
  app/helpers/todos_helper.rb:40:in `todo_target_path'
    polymorphic_path(path, anchor: anchor)
  app/views/dashboard/todos/_todo.html.haml:1:in `_app_views_dashboard_todos__todo_html_haml__1389419302773252479_70065862161500'
    %li{class: "todo todo-#{todo.done? ? 'done' : 'pending'}", id: dom_id(todo), data:{url: todo_target_path(todo)} }
  app/views/dashboard/todos/index.html.haml:80:in `block in _app_views_dashboard_todos_index_html_haml___1400524744743610619_70065829427340'
    = render group[1]
  app/views/dashboard/todos/index.html.haml:73:in `each'
    - @todos.group_by(&:project).each do |group|
  app/views/dashboard/todos/index.html.haml:73:in `_app_views_dashboard_todos_index_html_haml___1400524744743610619_70065829427340'
    - @todos.group_by(&:project).each do |group|
...
(146 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `builds_namespace_project_merge_request_path' for #<#<Class:0x007f72f1279820>:0x007f72f122c3e0>