Sha256: 70c5554364aa2e8ab281a4c0cff02422d9f58e80d0b580b38e285084ce36843a

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

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

      config.dradis = ActiveSupport::OrderedOptions.new

      initializer "dradis-plugins.set_configs" do |app|
        options = app.config.dradis
        options.base_export_controller_class_name ||= 'ProjectScopedController'
        options.thor_helper_module ||= Dradis::Plugins::ThorHelper
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dradis-plugins-3.9.0 lib/dradis/plugins/engine.rb
dradis-plugins-3.8.0 lib/dradis/plugins/engine.rb
dradis-plugins-3.7.0 lib/dradis/plugins/engine.rb
dradis-plugins-3.6.0 lib/dradis/plugins/engine.rb