Browse files

Revert "Rails.root is a Pathname, no need to use File.join first."

This reverts commit 760fd1e.

Reason: We need a fully qualified path string here, not a Pathname.
  • Loading branch information...
vijaydev committed Sep 7, 2011
1 parent 0fb3aa7 commit 190a2bf9c482fef8412982ea31a755d7e59f17b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/asset_pipeline.textile
@@ -112,7 +112,7 @@ All subdirectories that exist within these three locations are added to the sear
You can add additional (fully qualified) paths to the pipeline in +application.rb+. For example:
-config.assets.paths << Rails.root.join('app', 'assets', 'flash')
+config.assets.paths << File.join(Rails.root, 'app', 'assets', 'flash')
h4. Coding Links to Assets

0 comments on commit 190a2bf

Please sign in to comment.