Sha256: 5590625df2f4e5b965e225caf8d6313888ac28a391471ebc23620339a9686559
Contents?: true
Size: 290 Bytes
Versions: 4
Compression:
Stored size: 290 Bytes
Contents
require 'chartjs/chart_helpers' require 'chartjs/axis_helpers' module Chartjs class Engine < Rails::Engine initializer 'chartjs.chart_helpers' do ActionView::Base.send :include, Chartjs::ChartHelpers ActionView::Base.send :include, Chartjs::AxisHelpers end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chartjs-ror-2.1.0 | lib/chartjs/engine.rb |
chartjs-ror-2.0.0 | lib/chartjs/engine.rb |
chartjs-ror-1.1.1 | lib/chartjs/engine.rb |
chartjs-ror-1.1.0 | lib/chartjs/engine.rb |