Sha256: ec17f52ffae463fc906cdc2d7c154acc16ad4795f3232055649ae2ff35c1875e

Contents?: true

Size: 578 Bytes

Versions: 2

Compression:

Stored size: 578 Bytes

Contents

module Blocky
  class Engine < ::Rails::Engine
    isolate_namespace Blocky

    # Load Rails Generators
    generators do
      require File.join(File.expand_path("../..", __FILE__), "generators", "blocky", "install_generator.rb")
    end

    # Add interface for Active Admin (Pro)
    # @see http://activeadmin.info
    # @see http://github.com/codelation/activeadmin_pro
    if defined?(ActiveAdmin)
      initializer :blocky do
        ActiveAdmin.application.load_paths.unshift File.join(File.expand_path("../..", __FILE__), "blocky", "admin")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blocky-1.0.1 lib/blocky/engine.rb
blocky-1.0.0 lib/blocky/engine.rb