Sha256: 8143eefaec9897b3bcc6b83c267ff30899f42ad401596b4dc4bdda4fe49f553d

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

require 'hugh'
require 'rails'

module Hugh
  class Railtie < Rails::Railtie

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

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

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hugh-0.1.1 lib/hugh/railtie.rb
hugh-0.1.0 lib/hugh/railtie.rb