Sha256: e4b34b32324c6724b164c79c1a320c0c2d6466d9093495294d30841daaf19618

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

require 'rack/showexceptions'

module Middleman::CoreExtensions::ShowExceptions
  class << self
    def registered(app)
      app.configure :development do
        if show_exceptions
          use ::Middleman::CoreExtensions::ShowExceptions::Middleware
        end
      end
    end
  end
  
  class Middleware < ::Rack::ShowExceptions
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
middleman-core-3.0.0.beta.1 lib/middleman-core/core_extensions/show_exceptions.rb
middleman-core-3.0.0.alpha.9 lib/middleman-core/core_extensions/show_exceptions.rb
middleman-core-3.0.0.alpha.8 lib/middleman-core/core_extensions/show_exceptions.rb
middleman-core-3.0.0.alpha.7 lib/middleman-core/core_extensions/show_exceptions.rb
middleman-3.0.0.alpha.6 lib/middleman/core_extensions/show_exceptions.rb
middleman-3.0.0.alpha.5 lib/middleman/core_extensions/show_exceptions.rb
middleman-3.0.0.alpha.4 lib/middleman/core_extensions/show_exceptions.rb