Skip to content

Commit

Permalink
Fix assets prefix joining
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 31, 2011
1 parent bcde6cd commit d7b521d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def build_asset_environment
return unless config.assets.enabled
require 'sprockets'
env = Sprockets::Environment.new(root.to_s)
env.static_root = root.join("public").join(config.assets.prefix)
env.static_root = File.join(root.join("public"), config.assets.prefix)
env
end

Expand Down

0 comments on commit d7b521d

Please sign in to comment.