Sha256: cc97cb211b87adec231c5bbd8d03c3170d2f7129059306c71a51fdff0b404aa3

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

module Whoops
  class Engine < Rails::Engine
    initializer "static assets" do |app|
      app.middleware.use ::ActionDispatch::Static, File.expand_path("../../../app/assets/javascripts", __FILE__)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whoops-0.3 lib/whoops/engine.rb
whoops-0.2.4 lib/whoops/engine.rb
whoops-0.2.3 lib/whoops/engine.rb
whoops-0.2.2 lib/whoops/engine.rb