Permalink
Browse files

Fix assets prefix joining

  • Loading branch information...
1 parent bcde6cd commit d7b521db1297c1b95a441b3928fc31ab3abd5ed5 @josh josh committed Mar 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application.rb
View
2 railties/lib/rails/application.rb
@@ -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

0 comments on commit d7b521d

Please sign in to comment.