aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/rails/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb
index ef3cb794c1..66a1f88c61 100644
--- a/railties/lib/rails/application.rb
+++ b/railties/lib/rails/application.rb
@@ -145,7 +145,7 @@ module Rails
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