Sha256: df756de0ff51ce71f7152d56898fcca388f66b2d5bdea8cf8785e925ff236f19

Contents?: true

Size: 565 Bytes

Versions: 5

Compression:

Stored size: 565 Bytes

Contents

module Workarea
  module BrowseOption
    class Engine < ::Rails::Engine
      include Workarea::Plugin
      isolate_namespace Workarea::BrowseOption

      config.to_prepare do
        Catalog::Category.include(FeaturedBrowseOptionProducts)
        Search::Customization.include(FeaturedBrowseOptionProducts)

        Admin::CategoryViewModel.include(
          Admin::FeaturedBrowseOptionProductsViewModel
        )
        Admin::SearchCustomizationViewModel.include(
          Admin::FeaturedBrowseOptionProductsViewModel
        )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-browse_option-2.2.0 lib/workarea/browse_option/engine.rb
workarea-browse_option-2.1.9 lib/workarea/browse_option/engine.rb
workarea-browse_option-2.1.8 lib/workarea/browse_option/engine.rb
workarea-browse_option-2.1.7 lib/workarea/browse_option/engine.rb
workarea-browse_option-2.1.6 lib/workarea/browse_option/engine.rb