Skip to content

Commit

Permalink
use Rails.root.join for assets guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrivadeneira committed Oct 6, 2011
1 parent 876d3f2 commit 3d595c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/asset_pipeline.textile
Expand Up @@ -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
Expand Down

0 comments on commit 3d595c5

Please sign in to comment.