aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/asset_pipeline.md
diff options
context:
space:
mode:
authorLeandro Lourenci <leandro@lourenci.com>2017-08-14 17:15:34 -0300
committerLeandro Lourenci <leandro@lourenci.com>2017-08-14 17:15:34 -0300
commit794d0e669eff3dd2948071acdc439aa768bfd9f5 (patch)
tree85b2bb3162c6a425f866fc7f54aa70ba2ab6c186 /guides/source/asset_pipeline.md
parent5949cc05d395f5e1435d04d4adee7b26f13a517d (diff)
downloadrails-794d0e669eff3dd2948071acdc439aa768bfd9f5.tar.gz
rails-794d0e669eff3dd2948071acdc439aa768bfd9f5.tar.bz2
rails-794d0e669eff3dd2948071acdc439aa768bfd9f5.zip
Fix asset pipeline guide [skip ci]
Diffstat (limited to 'guides/source/asset_pipeline.md')
-rw-r--r--guides/source/asset_pipeline.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index a02eebf263..383e972f74 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -283,10 +283,10 @@ You can view the search path by inspecting
`Rails.application.config.assets.paths` in the Rails console.
Besides the standard `assets/*` paths, additional (fully qualified) paths can be
-added to the pipeline in `config/application.rb`. For example:
+added to the pipeline in `config/initializers/assets.rb`. For example:
```ruby
-config.assets.paths << Rails.root.join("lib", "videoplayer", "flash")
+Rails.application.config.assets.paths << Rails.root.join("lib", "videoplayer", "flash")
```
Paths are traversed in the order they occur in the search path. By default,