Sha256: 0c1fa7e1cf5ca767b7cc1ab846f716bd0fffcdc7c20800569084f1d17926e3f5

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 Bytes

Contents

require 'chartkick'

module Errdo
  class Engine < Rails::Engine

    isolate_namespace Errdo

    require "kaminari"

    config.autoload_paths += %W[#{config.root}/lib]

    config.before_initialize do |app|
      app.config.exceptions_app = Errdo::ExceptionsController.new(Rails.public_path)
    end

    initializer 'Errdo precompile hook', group: :all do |app|
      app.config.assets.precompile += %w[errdo/errdo.css errdo/errdo.js errdo/logo.png]
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
errdo-0.12.14 lib/errdo/engine.rb
errdo-0.12.13 lib/errdo/engine.rb
errdo-0.12.12 lib/errdo/engine.rb
errdo-0.12.11 lib/errdo/engine.rb
errdo-0.12.10 lib/errdo/engine.rb
errdo-0.12.9 lib/errdo/engine.rb
errdo-0.12.8 lib/errdo/engine.rb