diff options
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index e5a08bbed5..bad1c08747 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/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: <erb> -config.assets.paths << Rails.root.join('app', 'assets', 'flash') +config.assets.paths << File.join(Rails.root, 'app', 'assets', 'flash') </erb> h4. Coding Links to Assets |