Sha256: 7dac5ef59a5435d382970a726447e428ebe38d3a96c5baab705715278f0bb248

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

module Goalie
  class Engine < Rails::Engine

    initializer "goalie.add_middleware" do |app|
      app.middleware.delete 'ShowExceptions'
      app.middleware.use Goalie::CustomErrorPages
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
goalie-0.0.2 lib/goalie/rails.rb
goalie-0.0.1 lib/goalie/rails.rb
goalie-0.0.0 lib/goalie/rails.rb