Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:lifo/docrails

* 'master' of github.com:lifo/docrails:
  use Rails.root.join for assets guide
  • Loading branch information...
commit 4f5878a4a98cc1e8766a0204d94dd96f384fdae9 2 parents 02eac2d + 3d595c5
@radar radar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/asset_pipeline.textile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.