Sha256: 54105cb410e335c75e27c1236c40b3fff72f246a16221e62cab8636d57de6ff3

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

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

      isolate_namespace Refinery
      engine_name :refinery_settings

      config.autoload_paths += %W( #{config.root}/lib )

      initializer "register refinery_settings plugin" do
        Refinery::Plugin.register do |plugin|
          plugin.pathname = root
          plugin.name = 'refinery_settings'
          plugin.version = %q{2.0.0}
          plugin.menu_match = %r{refinery/settings$}
          plugin.url = { :controller => '/refinery/admin/settings' }
        end
      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-settings-2.0.0 lib/refinery/settings/engine.rb