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

* 'master' of github.com:lifo/docrails:
  use Rails.root.join for assets guide
This commit is contained in:
Ryan Bigg 2011-10-06 13:33:55 +11:00
commit 4f5878a4a9
1 changed files with 1 additions and 1 deletions

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