Sha256: e3034eddcfd94961066b60032415fc2476c2f6157abdcefabd128c03fd11d671

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

require 'rails'

module Metro
  module Ui
    module Rails
      class Engine < ::Rails::Engine
        initializer 'metro-ui-rails.setup', 
          :after => 'less-rails.after.load_config_initializers', 
          :group => :all do |app|
            app.config.less.paths << File.join(config.root, 'vendor', 'toolkit')
            app.config.less.paths << File.join(config.root, 'vendor', 'fonts')
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metro-ui-rails-0.15.8.4 lib/metro/ui/rails/engine.rb
metro-ui-rails-0.15.8.3 lib/metro/ui/rails/engine.rb
metro-ui-rails-0.1.6 lib/metro/ui/rails/engine.rb