Sha256: 7425c4636703afb857126c4d01fc440292650e7278d9c870ad2b4277227ce33c

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

require 'chartjs/chart_helpers'

module Chartjs
  class Railtie < Rails::Railtie
    initializer 'chartjs.chart_helpers' do
      ActionView::Base.send :include, Chartjs::ChartHelpers
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chartjs-ror-1.0.0 lib/chartjs/railtie.rb