1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

use Rails.root.join for assets guide

This commit is contained in:
Nick Quaranto 2011-10-05 22:27:33 -04:00
parent 876d3f23d2
commit 3d595c5eae

View file

@ -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