Sha256: 6305910092a51998e36cd62108dd399ac498aa54df42ccfea59edf1e17f79e90
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
# frozen_string_literal: true module HtmlSafeFlash class Railtie < ::Rails::Railtie initializer "html_safe_flash.extend_flash_hash" do ActiveSupport.on_load(:action_controller) do ActionDispatch::Flash::FlashHash.prepend(FlashHashExtension) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
html_safe_flash-0.2.0 | lib/html_safe_flash/railtie.rb |
html_safe_flash-0.1.0 | lib/html_safe_flash/railtie.rb |