Sha256: 7aba55ed13afc9922e496b2336f5f7c0ebe312b5a70c0fc2abc09165baed90bc
Contents?: true
Size: 345 Bytes
Versions: 16
Compression:
Stored size: 345 Bytes
Contents
require 'cocoon/view_helpers' module Cocoon class Engine < ::Rails::Engine config.before_initialize do config.action_view.javascript_expansions[:cocoon] = %w(cocoon) end # configure our plugin on boot initializer "cocoon.initialize" do |app| ActionView::Base.send :include, Cocoon::ViewHelpers end end end
Version data entries
16 entries across 16 versions & 1 rubygems