lib/chartjs/railtie.rb in chartjs-ror-1.0.0 vs lib/chartjs/railtie.rb in chartjs-ror-1.0.1
- old
+ new
@@ -1,9 +1,11 @@
require 'chartjs/chart_helpers'
+require 'chartjs/axis_helpers'
module Chartjs
class Railtie < Rails::Railtie
initializer 'chartjs.chart_helpers' do
ActionView::Base.send :include, Chartjs::ChartHelpers
+ ActionView::Base.send :include, Chartjs::AxisHelpers
end
end
end