aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorNick Quaranto <nick@thoughtbot.com>2011-10-05 22:27:33 -0400
committerNick Quaranto <nick@thoughtbot.com>2011-10-05 22:27:33 -0400
commit3d595c5eaeec43e5dc9f2930420506108b0ce813 (patch)
tree189d7d1e55395b877b4929e602adc78795e07620 /railties
parent876d3f23d2370790623c6ef261d7c2366fb404d3 (diff)
downloadrails-3d595c5eaeec43e5dc9f2930420506108b0ce813.tar.gz
rails-3d595c5eaeec43e5dc9f2930420506108b0ce813.tar.bz2
rails-3d595c5eaeec43e5dc9f2930420506108b0ce813.zip
use Rails.root.join for assets guide
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/asset_pipeline.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index 7795b297f3..ccbc737f17 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/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:
<ruby>
-config.assets.paths << "#{Rails.root}/app/assets/flash"
+config.assets.paths << Rails.root.join("app", "assets", "flash")
</ruby>
h4. Coding Links to Assets