Sha256: e449cbe5b88691b306ef3479b41b01c7532b4a50a0b3680765fc643462671f0e

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true
module Formtastic
  # Required for formtastic.css to be discoverable in the asset pipeline
  # @private
  class Engine < ::Rails::Engine
    initializer 'formtastic.initialize' do
      ActiveSupport.on_load(:action_view) do
        include Formtastic::Helpers::FormHelper
      end
    end

    config.eager_load_namespaces << Formtastic
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formtastic-5.0.0 lib/formtastic/engine.rb