Skip to content
This repository
Browse code

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...
commit 190a2bf9c482fef8412982ea31a755d7e59f17b6 1 parent 0fb3aa7
Vijay Dev authored September 07, 2011
2  railties/guides/source/asset_pipeline.textile
Source Rendered
@@ -112,7 +112,7 @@ All subdirectories that exist within these three locations are added to the sear
112 112
 You can add additional (fully qualified) paths to the pipeline in +application.rb+. For example:
113 113
 
114 114
 <erb>
115  
-config.assets.paths << Rails.root.join('app', 'assets', 'flash')
  115
+config.assets.paths << File.join(Rails.root, 'app', 'assets', 'flash')
116 116
 </erb>
117 117
 
118 118
 h4. Coding Links to Assets

0 notes on commit 190a2bf

Please sign in to comment.
Something went wrong with that request. Please try again.