Sha256: 569570ebbc5e32cdd957fe7514c268d568598069522c53913ba21ea6114d6e74

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

module Dradis
  module Plugins
    class Engine < ::Rails::Engine
      isolate_namespace Dradis::Plugins

      # initializer 'frontend.append_migrations' do |app|
      #   unless app.root.to_s == root.to_s
      #     config.paths["db/migrate"].expanded.each do |path|
      #       app.config.paths["db/migrate"].push(path)
      #     end
      #   end
      # end

      # initializer 'frontend.asset_precompile_paths' do |app|
      #   app.config.assets.precompile += ["dradis/frontend/manifests/*"]
      # end

      Dradis::Plugins::setup do |config|
        config.base_export_controller_class = 'ProjectScopedController'
        config.configuration_class          = '::Configuration'
        config.thor_helper_module           = 'Dradis::Plugins::ThorHelper'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-plugins-3.5.0 lib/dradis/plugins/engine.rb