Permalink
Browse files

Remove todo_list as a parent resource in TodoItem

Having todo_list as a parent resource is not useful and is removing todo_list_id from the list of attributes. That attribute is very important and used in TodoItem#todo_list.
  • Loading branch information...
1 parent c295957 commit 3c5500c1b8450591af3ed8720859235e470b155c @anibalcucco committed Feb 25, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/basecamp/resources/todo_item.rb
View
2 lib/basecamp/resources/todo_item.rb
@@ -1,6 +1,4 @@
module Basecamp; class TodoItem < Basecamp::Resource
- parent_resources :todo_list
-
def todo_list(options = {})
@todo_list ||= TodoList.find(todo_list_id, options)
end

0 comments on commit 3c5500c

Please sign in to comment.