Sha256: 2f38bcaf6cc8c9adc8b615c82a6accb01fb700feaeb1f0c97dcdfffc1fd096a8

Contents?: true

Size: 375 Bytes

Versions: 6

Compression:

Stored size: 375 Bytes

Contents

module Ominous
  class Engine < ::Rails::Engine
    isolate_namespace Ominous
    
    initializer 'ominous.action_controller' do |app|
      ActiveSupport.on_load :action_controller do

        helper Ominous::ApplicationHelper
        helper Ominous::WarningsHelper

        after_filter 'Ominous::Warning.after_action_tasks'
             
      end
    end
   
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ominous-0.1.3 lib/ominous/engine.rb
ominous-0.1.2 lib/ominous/engine.rb
ominous-0.1.1 lib/ominous/engine.rb
ominous-0.1.0 lib/ominous/engine.rb
ominous-0.0.5 lib/ominous/engine.rb
ominous-0.0.4 lib/ominous/engine.rb