Sha256: ce95de2699ea502c35e8ddf34f2ec6a2d3b383c8cb5ffa2ef23ccdc0328b75a7

Contents?: true

Size: 1.16 KB

Versions: 35

Compression:

Stored size: 1.16 KB

Contents

require 'haml-rails'
require 'compass-rails'

module IuguUX
  class Engine < Rails::Engine
      initializer 'iugu-ux.setup', :group => :all do |app|
        app.config.assets.precompile += IuguUX.src
        app.config.compass.sprite_load_path << app.root.join('app','assets','sprites')
        app.config.compass.sprite_load_path << IuguUX.sprite_load_path 
        app.config.assets.paths << File.join( IuguUX.assets_path, 'javascripts' )
        app.config.assets.paths << File.join( IuguUX.assets_path, 'javascripts', 'web-app' )
        app.config.assets.paths << File.join( IuguUX.assets_path, 'stylesheets' )
        app.config.assets.paths << File.join( IuguUX.assets_path, 'stylesheets', 'iugu-ux' )
        # app.config.assets.precompile << %w( vendor

        # app.config.compass.add_import_path File.join( IuguUX.assets_path, 'stylesheets' )
        # app.config.sass.load_paths << File.join( IuguUX.assets_path, 'stylesheets' )
        # app.config.sass.load_paths << File.join( IuguUX.assets_path, 'stylesheets', 'iugu-ux' )
        # app.config.sass.load_paths << File.join( IuguUX.assets_path, 'stylesheets', 'iugu-ux', 'google-code-prettify' )
      end

  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugu-ux-1.0.20 lib/iugu-ux/railtie.rb
iugu-ux-1.0.19 lib/iugu-ux/railtie.rb
iugu-ux-1.0.18 lib/iugu-ux/railtie.rb
iugu-ux-1.0.17 lib/iugu-ux/railtie.rb
iugu-ux-1.0.16 lib/iugu-ux/railtie.rb
iugu-ux-1.0.15 lib/iugu-ux/railtie.rb
iugu-ux-1.0.14 lib/iugu-ux/railtie.rb
iugu-ux-1.0.13 lib/iugu-ux/railtie.rb
iugu-ux-1.0.12 lib/iugu-ux/railtie.rb
iugu-ux-1.0.11 lib/iugu-ux/railtie.rb
iugu-ux-1.0.10 lib/iugu-ux/railtie.rb
iugu-ux-1.0.9 lib/iugu-ux/railtie.rb
iugu-ux-1.0.8 lib/iugu-ux/railtie.rb
iugu-ux-1.0.7 lib/iugu-ux/railtie.rb
iugu-ux-1.0.6 lib/iugu-ux/railtie.rb
iugu-ux-1.0.5 lib/iugu-ux/railtie.rb
iugu-ux-1.0.4 lib/iugu-ux/railtie.rb
iugu-ux-1.0.3 lib/iugu-ux/railtie.rb
iugu-ux-1.0.2 lib/iugu-ux/railtie.rb
iugu-ux-1.0.1 lib/iugu-ux/railtie.rb