diff options
author | Joshua Peek <josh@joshpeek.com> | 2011-03-30 22:12:00 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2011-03-30 22:12:00 -0500 |
commit | bcde6cdf27e96a934466ee16b273846a76c4e335 (patch) | |
tree | 5ef9b8b9a5fd858e048c29ba4ec7e5cb3e11cc9a /railties | |
parent | 203b151af79d3c65e87bc0e695e65a811b35fd49 (diff) | |
download | rails-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.rb | 2 |
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 |