Sha256: 62e095f6f7869cb6d2c90b0b8dfd4b785171bdfca48f63e5e137733e1381ce57

Contents?: true

Size: 409 Bytes

Versions: 19

Compression:

Stored size: 409 Bytes

Contents

module WashoutBuilder
  class Engine < ::Rails::Engine
    initializer "wash_out.configuration" do |app|
      app.routes.append do
        match "/washout"   => "washout_builder#all", :via => :get, :format => false
      end
      if app.config.wash_out[:catch_xml_errors]
        app.config.middleware.insert_after 'ActionDispatch::ShowExceptions', WashOut::Middlewares::Catcher
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
washout_builder-0.10.4 lib/washout_builder/engine.rb
washout_builder-0.10.3 lib/washout_builder/engine.rb
washout_builder-0.10.2 lib/washout_builder/engine.rb
washout_builder-0.10.1 lib/washout_builder/engine.rb
washout_builder-0.9.12 lib/washout_builder/engine.rb
washout_builder-0.9.10 lib/washout_builder/engine.rb
washout_builder-0.9.9 lib/washout_builder/engine.rb
washout_builder-0.9.8 lib/washout_builder/engine.rb
washout_builder-0.9.7 lib/washout_builder/engine.rb
washout_builder-0.9.6 lib/washout_builder/engine.rb
washout_builder-0.9.5 lib/washout_builder/engine.rb
washout_builder-0.9.1 lib/washout_builder/engine.rb
washout_builder-0.9.0 lib/washout_builder/engine.rb
washout_builder-0.8.12 lib/washout_builder/engine.rb
washout_builder-0.8.11 lib/washout_builder/engine.rb
washout_builder-0.8.10 lib/washout_builder/engine.rb
washout_builder-0.8.9 lib/washout_builder/engine.rb
washout_builder-0.8.8 lib/washout_builder/engine.rb
washout_builder-0.8.7 lib/washout_builder/engine.rb