Sha256: 47f18610572f7e68d97c347fc513a7c11f4a9af70f00fc674ea22d146e5d86de

Contents?: true

Size: 371 Bytes

Versions: 5

Compression:

Stored size: 371 Bytes

Contents

module Voltron
  module Flash
    class Engine < Rails::Engine

      isolate_namespace Voltron

      config.autoload_paths += Dir["#{config.root}/lib/**/"]

      initializer "voltron.flash.initialize" do
        ::ActionController::Base.send :prepend, ::Voltron::Flash
        ::ActionController::Base.send :helper, ::Voltron::FlashHelper
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voltron-flash-0.1.3 lib/voltron/flash/engine.rb
voltron-flash-0.1.1 lib/voltron/flash/engine.rb
voltron-flash-0.1.4 lib/voltron/flash/engine.rb
voltron-flash-0.1.2 lib/voltron/flash/engine.rb
voltron-flash-0.1.5 lib/voltron/flash/engine.rb