Sha256: 66a2c1f099fde2ece72a881c13eb5b08ef544492a9b644cfb94204addd4764bf

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

module ChartCandy::Implants
  class Railtie < Rails::Railtie
    initializer "chart-candy" do |app|
      ActiveSupport.on_load :action_view do
        require 'chart-candy/helpers'
      end

      Mime::Type.register "application/vnd.ms-excel", :xls
    end
  end
end

dir = File.expand_path(File.dirname(__FILE__))

I18n.load_path << File.join(dir, '../../../config/locales', 'fr.yml')


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chart-candy-0.0.9 lib/chart-candy/implants/railtie.rb
chart-candy-0.0.8 lib/chart-candy/implants/railtie.rb
chart-candy-0.0.7 lib/chart-candy/implants/railtie.rb