Sha256: f7c278b8dd0dd7783d72f7cbb49ad4062baad1976a7b6288c233d54c557b206e

Contents?: true

Size: 448 Bytes

Versions: 18

Compression:

Stored size: 448 Bytes

Contents

require 'bootstrap-sass'

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)
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
errdo-0.12.7 lib/errdo/engine.rb
errdo-0.12.6 lib/errdo/engine.rb
errdo-0.12.5 lib/errdo/engine.rb
errdo-0.12.4 lib/errdo/engine.rb
errdo-0.12.3 lib/errdo/engine.rb
errdo-0.12.2 lib/errdo/engine.rb
errdo-0.12.1 lib/errdo/engine.rb
errdo-0.12.0 lib/errdo/engine.rb
errdo-0.11.6 lib/errdo/engine.rb
errdo-0.11.5 lib/errdo/engine.rb
errdo-0.11.4 lib/errdo/engine.rb
errdo-0.11.3 lib/errdo/engine.rb
errdo-0.11.2 lib/errdo/engine.rb
errdo-0.11.1 lib/errdo/engine.rb
errdo-0.11.0 lib/errdo/engine.rb
errdo-0.10.0 lib/errdo/engine.rb
errdo-0.9.1 lib/errdo/engine.rb
errdo-0.9.0 lib/errdo/engine.rb