Browse files

use Rails.root.join for assets guide

  • Loading branch information...
1 parent 876d3f2 commit 3d595c5eaeec43e5dc9f2930420506108b0ce813 @nickrivadeneira nickrivadeneira committed Oct 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/asset_pipeline.textile
@@ -120,7 +120,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 +config/application.rb+. For example:
-config.assets.paths << "#{Rails.root}/app/assets/flash"
+config.assets.paths << Rails.root.join("app", "assets", "flash")
h4. Coding Links to Assets

0 comments on commit 3d595c5

Please sign in to comment.