lib/twitter/bootswatch/rails/fontawesome/engine.rb in twitter-bootswatch-rails-fontawesome-3.2.1.4 vs lib/twitter/bootswatch/rails/fontawesome/engine.rb in twitter-bootswatch-rails-fontawesome-4.0.3.0
- old
+ new
@@ -8,11 +8,17 @@
initializer 'twitter-bootswatch-rails-fontawesome.setup',
:after => 'less-rails.after.load_config_initializers',
:group => :all do |app|
- app.config.assets.paths << File.join(config.root, 'vendor', 'toolkit')
- app.config.less.paths << File.join(config.root, 'vendor', 'toolkit')
+ 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-fontawesome.setup_helpers' do |app|
app.config.to_prepare do
\ No newline at end of file