Skip to content
Browse files

Use correct url for task. Fixes the task comment form.

  • Loading branch information...
1 parent 028e834 commit 5a3a89986445aa02a6d95f696c140ce7436e6d6f @jamesu committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/task.rb
View
2 app/models/task.rb
@@ -92,7 +92,7 @@ def object_name
end
def object_url(host = nil)
- url_for hash_for_task_path(:id => self.id, :task_list_id => self.task_list_id, :active_project => self.project_id, :only_path => host.nil?, :host => host)
+ url_for hash_for_task_path(:id => self.id, :active_project => self.project_id, :only_path => host.nil?, :host => host)
end
def assigned_to=(obj)

0 comments on commit 5a3a899

Please sign in to comment.
Something went wrong with that request. Please try again.