Sha256: ab031bf960248c58e51dbc84ed1757463328f3e5e766daa2680d34b42c14c093

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wash_out_fork-0.0.1 lib/wash_out_fork/engine.rb