Sha256: 23539eb21af466bb687c67e82b2f0e83f567339c8c9c9931fbfe204b7a6efa26

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

module RailsToastify
  class Engine < ::Rails::Engine
    isolate_namespace RailsToastify

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

    initializer 'rails_toastify.helpers' do
      ActiveSupport.on_load(:action_view) do
        include RailsToastifyHelper
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_toastify-1.2.1 lib/rails_toastify/engine.rb
rails_toastify-1.2.0 lib/rails_toastify/engine.rb
rails_toastify-1.1.1 lib/rails_toastify/engine.rb
rails_toastify-1.1.0 lib/rails_toastify/engine.rb