Sha256: 154035bf4467081e9d5e16dc22fa9af4c151ce40d4b86481aa82b9158c20535c

Contents?: true

Size: 434 Bytes

Versions: 11

Compression:

Stored size: 434 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 if not Mime::Type.lookup_by_extension :xls
    end
  end
end

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

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


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
chart-candy-0.1.7 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.6 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.5 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.4 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.3 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.2 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.1 lib/chart-candy/implants/railtie.rb
chart-candy-0.1.0 lib/chart-candy/implants/railtie.rb
chart-candy-0.0.12 lib/chart-candy/implants/railtie.rb
chart-candy-0.0.11 lib/chart-candy/implants/railtie.rb
chart-candy-0.0.10 lib/chart-candy/implants/railtie.rb