Sha256: a9daf06a799fa4daf566328f9fb5bcf6b0910154682162cf13de63c087236487

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

require 'notee/helper'
require 'notee/view_helper'

module Notee
  class Engine < ::Rails::Engine
    isolate_namespace Notee

    initializer 'notee.assets.precompile' do |app|
      app.config.assets.precompile += %w(*.js *.css)
    end

    initializer 'notee.action_controller_helpers' do
      ActiveSupport.on_load :action_controller do
        include Notee::Helper
      end
    end

    initializer 'notee.action_view_helpers' do
      ActiveSupport.on_load :action_view do
        include Notee::ViewHelper
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notee-0.2.9 lib/notee/engine.rb