Sha256: f4de38e97f83c5664fad1eed223ff92ac0ed05ba4ab5d2c196328fefa41e1f73
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 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 require_relative '../../app/helpers/rails_toastify_helper' ActiveSupport.on_load(:action_view) do include RailsToastifyHelper end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_toastify-1.2.2 | lib/rails_toastify/engine.rb |