Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Fixed a defect that caused ActionView::TemplateError (wrong n…

…umber of arguments (2 for 1)) ... to be raised on the project Todos page."

This reverts commit b1a3e72.
  • Loading branch information...
commit 2016d5ad5cb60bcb0c6806af8f8d66ba0c858e80 1 parent b0727f0
@iteman iteman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/todos/_todo.html.erb
View
2  app/views/todos/_todo.html.erb
@@ -22,7 +22,7 @@
:html => {:class => todo_class}
)
%><%= link_to_remote( image_tag('add.png', :title => l(:todo_add_child_tooltip)),
- :url => new_polymorphic_url( [parent_object,todo]), :parent_id => todo, :issue_id => todo_issue, :method => :get,
+ :url => new_polymorphic_url( [parent_object,:todo], :parent_id => todo, :issue_id => todo_issue), :method => :get,
#{ :controller => "#{'projects/' + todo.project.identifier.to_s + '/' if todo.project}#{'issues/' + todo_issue.to_s + '/' if todo_issue}#{todos_controller}/#{todo.id}", :action => 'new' },
:html => {:class => 'icon-new'},
Please sign in to comment.
Something went wrong with that request. Please try again.