Sha256: 05d1c1297fca2146b9f97345eb3ea7bc5113b8553b846c5e02f30c52c7a995f4

Contents?: true

Size: 343 Bytes

Versions: 9

Compression:

Stored size: 343 Bytes

Contents

require 'rails'

module NotifiablyAudited
  class Engine < ::Rails::Engine
    initializer 'notifiably_audited' do |app|
      ActiveSupport.on_load(:action_view) do
        require "notifiably_audited/helper"
        class ActionView::Base
          include NotifiablyAudited::NotifiablyAuditedHelpers
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
notifiably_audited-1.0.11 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.10 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.9 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.8 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.7 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.6 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.5 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.4 lib/notifiably_audited/engine.rb
notifiably_audited-1.0.3 lib/notifiably_audited/engine.rb