Sha256: 78c687d6bf00e7b0d723b17dbdd77361eb7c861720a5f837638003e7f9fbc468
Contents?: true
Size: 363 Bytes
Versions: 20
Compression:
Stored size: 363 Bytes
Contents
module Chartkick class Engine < ::Rails::Engine initializer "precompile", :group => :all do |app| # use a proc instead of a string app.config.assets.precompile << Proc.new{|path| path == "chartkick.js" } end initializer "helper" do |app| ActiveSupport.on_load(:action_view) do include Helper end end end end
Version data entries
20 entries across 20 versions & 1 rubygems