lib/sprockets/helpers/file_path.rb in sprockets-helpers-0.3.0 vs lib/sprockets/helpers/file_path.rb in sprockets-helpers-0.4.0

- old
+ new

@@ -33,10 +33,10 @@ # Prepends the base path if the path is not # already an absolute path. def rewrite_base_path(path) # :nodoc: if path !~ %r(^/) - File.join("/", dir, path) + File.join('/', dir, path) else path end end