class PlaylistItem < ActiveRecord::Base
  acts_as_category :scope => :playlist, :hidden => :active
  acts_as_authorization_object

  belongs_to :resource_item, :polymorphic => true

  ITEM_TYPES = [["Basic URL", "ItemDefault"],["Youtube Video", "ItemYoutube"],["Image", "ItemImage"],["Text File", "ItemText"]]
end

class PlaylistItem < ActiveRecord::Base
  include AuthUtilities
  
  acts_as_category :scope => :playlist, :hidden => :active
  acts_as_authorization_object

  belongs_to :resource_item, :polymorphic => true

  ITEM_TYPES = [["Basic URL", "ItemDefault"],["Youtube Video", "ItemYoutube"],["Image", "ItemImage"],["Text File", "ItemText"]]
end

Fix for default item model
Fix for default item model

git-svn-id: 40f48ef6be603b97d118b87e4ef5b23ea6e9fa7c@201 ac1452a4-9358-4c15-a3b0-de1119e254d8
