Sha256: 41274dfbed85090e5cb7fc9ab9c6cde280586de9eafaa258dbb3ee73041ca34d

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'grafico'
require 'rails'

module Grafico
  class Railtie < Rails::Railtie

    GEM_ROOT = File.join(File.dirname(__FILE__), '..', '..')

    initializer 'grafico.initialization' do
      require File.join(GEM_ROOT, 'rails', 'init')
    end

    generators do
      require File.join(GEM_ROOT, 'generators', 'grafico_assets', 'grafico_assets_generator')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grafico-0.2.5 lib/grafico/railtie.rb