Sha256: 7d85ff8b6acf99920f73890ca16fbb281fd65a385c69fbf384daec6fbd181589

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

module Refinery
  module Forms
    class Engine < Rails::Engine
      include Refinery::Engine

      isolate_namespace Refinery::Forms

      before_inclusion do
        Refinery::Plugin.register do |plugin|
          plugin.pathname = root
          plugin.name = "refinerycms_forms"
          plugin.hide_from_menu = true
          plugin.always_allow_access = true
        end
      end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-forms-2.0.0 lib/refinery/forms/engine.rb
refinerycms-forms-1.0.1 lib/refinery/forms/engine.rb
refinerycms-forms-1.0.0 lib/refinery/forms/engine.rb