aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2011-03-30 22:12:00 -0500
committerJoshua Peek <josh@joshpeek.com>2011-03-30 22:12:00 -0500
commitbcde6cdf27e96a934466ee16b273846a76c4e335 (patch)
tree5ef9b8b9a5fd858e048c29ba4ec7e5cb3e11cc9a /railties
parent203b151af79d3c65e87bc0e695e65a811b35fd49 (diff)
downloadrails-bcde6cdf27e96a934466ee16b273846a76c4e335.tar.gz
rails-bcde6cdf27e96a934466ee16b273846a76c4e335.tar.bz2
rails-bcde6cdf27e96a934466ee16b273846a76c4e335.zip
Fix assets prefix joining
Diffstat (limited to 'railties')
-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 d9c183d93e..ef3cb794c1 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/#{config.assets.prefix}")
+ env.static_root = root.join("public").join(config.assets.prefix)
env
end