Sha256: 72dd86f48a38148eddf9441c57525496e43dbb7b88a0078d7ba64045b1f3e55c

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

require 'rails/railtie'
module InlineSvg
  class Railtie < ::Rails::Railtie
    initializer "inline_svg.action_view" do |app|
      ActiveSupport.on_load :action_view do
        require "inline_svg/action_view/helpers"
        include InlineSvg::ActionView::Helpers
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inline_svg-0.2.0 lib/inline_svg/railtie.rb
inline_svg-0.1.0 lib/inline_svg/railtie.rb
inline_svg-0.0.1 lib/inline_svg/railtie.rb