Sha256: 325cd0ba9182c602b632412a0635638b0f3fe273bcc24f2b69241feae65d727d

Contents?: true

Size: 668 Bytes

Versions: 22

Compression:

Stored size: 668 Bytes

Contents

require 'rails'

module Twitter
  module Bootswatch
    module Rails
      class Engine < ::Rails::Engine

        initializer 'twitter-bootswatch-rails.setup',
          :after => 'less-rails.after.load_config_initializers', 
          :group => :all do |app|

            paths = %W[
              #{File.join(config.root, 'vendor', 'toolkit')}
            ]

            paths.each do |p|
              app.config.assets.paths << p
              app.config.less.paths << p
            end

          end

        initializer 'twitter-bootswatch-rails.setup_helpers' do |app|
          app.config.to_prepare do

          end
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
twitter-bootswatch-rails-3.3.4.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.3.2.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.2.0.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.1.1 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.1.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.0.4 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.0.3 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.0.1 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.1.0.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.0.3.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.0.2.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.0.1.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.0.0.2 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-3.0.0.0 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.8 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.7 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.6 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.5 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.4 lib/twitter/bootswatch/rails/engine.rb
twitter-bootswatch-rails-2.3.2.3 lib/twitter/bootswatch/rails/engine.rb