loking down the class name for categories

Oleg committed Sep 21, 2011
commit ecccad40002df865322b4eb38877577c19b8a505
Showing 1 changed file with 3 additions and 1 deletions
comfortable_mexican_sofa/extensions/is_categorized.rb b/lib/comfortable_mexican_sofa/extensions/is_categorized.rb +3 -1
@@ @@ -10,9 +10,11 @@ module ComfortableMexicanSofa::IsCategorized
has_many :categorizations,
:as => :categorized,
+ :class_name => 'Cms::Categorization',
:dependent => :destroy
has_many :categories,
- :through => :categorizations
+ :through => :categorizations,
+ :class_name => 'Cms::Category'
attr_accessor :category_ids