Sha256: e5d5327cff52b49616aa77e37fa7d4e0f25a06185d01d04d9d942bd8eb8bbe77

Contents?: true

Size: 792 Bytes

Versions: 1

Compression:

Stored size: 792 Bytes

Contents

module Refinery
  module Products
    class Engine < Rails::Engine
      include Refinery::Engine
      isolate_namespace Refinery::Products

      engine_name :refinery_stores

#     initializer "register refinerycms_products plugin" do |app|
#         Refinery::Plugin.register do |plugin|
#           plugin.name = "products"
#           plugin.url = {
#             :controller => 'refinery/products/admin/products',
#             :action => 'index'
#           }
#           plugin.pathname = root

#           plugin.activity = {
#             :class_name => :'refinery/products/product',
#             :title => 'name'
#           }
#           
#         end
#     end

      config.after_initialize do
        Refinery.register_engine(Refinery::Products)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-stores-0.1.0 lib/refinery/products/engine.rb