Sha256: 567c0ff1cfa9213b10afceb41af7bc2f034753242a102e4b14906f9b808b1b33

Contents?: true

Size: 329 Bytes

Versions: 9

Compression:

Stored size: 329 Bytes

Contents

module WashOut
  class Engine < ::Rails::Engine
    config.wash_out = ActiveSupport::OrderedOptions.new
    initializer "wash_out.configuration" do |app|
      if app.config.wash_out[:catch_xml_errors]
        app.config.middleware.insert_after 'ActionDispatch::ShowExceptions', WashOut::Middleware
      end
    end

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
wash-out-0.10.1 lib/wash_out/engine.rb
wash_out-0.11.0 lib/wash_out/engine.rb
wash_out-0.11.0.beta.2 lib/wash_out/engine.rb
wash_out-0.11.0.beta.1 lib/wash_out/engine.rb
wash_out-0.10.0 lib/wash_out/engine.rb
wash_out-0.9.2 lib/wash_out/engine.rb
wash_out-0.9.0 lib/wash_out/engine.rb
wash_out-0.9.0.beta.2 lib/wash_out/engine.rb
wash_out-0.9.0.beta.1 lib/wash_out/engine.rb