Sha256: d5665c4e20f9cb8fb78937ecb36b80d8788e3fbc40e9ff1e6889dc1881859962

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 Bytes

Contents

module Shop
  module Models
    module Page
    
      def self.included(base)
        base.class_eval do
          has_one :shop_category, :dependent => :delete
          has_one :shop_product,  :dependent => :delete
          
        end
      end
      
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
radiant-shop-extension-0.11.6 lib/shop/models/page.rb
radiant-shop-extension-0.11.5 lib/shop/models/page.rb
radiant-shop-extension-0.11.4 lib/shop/models/page.rb
radiant-shop-extension-0.11.3 lib/shop/models/page.rb
radiant-shop-extension-0.11.1 lib/shop/models/page.rb
radiant-shop-extension-0.11.0 lib/shop/models/page.rb