Sha256: f826589bfc2c1bd6893d06f8c69ea127b3880aa84dd5701533102305f448db26

Contents?: true

Size: 546 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
notee-0.2.8 lib/notee/engine.rb
notee-0.2.7 lib/notee/engine.rb