Skip to content

Commit

Permalink
Fix for railtie
Browse files Browse the repository at this point in the history
  • Loading branch information
Melanitski committed Jul 17, 2014
1 parent 5591ad6 commit 9480298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bower-rails/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Railtie < Rails::Railtie

if File.exist?(@@bowerfile)
config.before_initialize do |app|
@dsl = BowerRails::Dsl.evalute(@@bowerfile)
@dsl = BowerRails::Dsl.evalute(Dir.pwd, @@bowerfile)

@dsl.final_assets_path.map do |assets_root, assets_path|
app.config.assets.paths << Rails.root.join(assets_root, assets_path, "bower_components")
Expand Down

0 comments on commit 9480298

Please sign in to comment.