Sha256: 94a110e1d18b1a9304f0f0552d101f2d5f4df4a8c04029aec5bc855128071de3
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
# frozen-string-literal: true require "encrypted_form_fields/helpers/form_tag_helper" require "encrypted_form_fields/helpers/form_helper" require "rails/railtie" module EncryptedFormFields class Railtie < Rails::Railtie initializer "encrypted_form_fields.view_helpers" do ActionView::Base.send(:include, EncryptedFormFields::Helpers::FormHelper) ActionView::Base.send(:include, EncryptedFormFields::Helpers::FormTagHelper) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
encrypted_form_fields-1.0.0 | lib/encrypted_form_fields/railtie.rb |
encrypted_form_fields-0.2.4 | lib/encrypted_form_fields/railtie.rb |