Skip to content

Commit

Permalink
Created AnthillItem
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkrenn committed Aug 23, 2009
1 parent a95e4d5 commit ddf1aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/anthill.rb
Expand Up @@ -27,6 +27,6 @@ def set_position
end

def create_item
Item.create(:anthill => self, :map => self.map, :latitude => latitude, :longitude => longitude)
AnthillItem.create(:anthill => self, :map => self.map, :latitude => latitude, :longitude => longitude)
end
end
2 changes: 2 additions & 0 deletions app/models/anthill_item.rb
@@ -0,0 +1,2 @@
class AnthillItem < Item
end

0 comments on commit ddf1aba

Please sign in to comment.