mirror of https://github.com/rails/rails
Rails.root is a Pathname, no need to use File.join first.
This commit is contained in:
parent
2cf0bb4e03
commit
760fd1eb42
|
@ -112,7 +112,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 +application.rb+. For example:
|
||||
|
||||
<erb>
|
||||
config.assets.paths << File.join(Rails.root, 'app', 'assets', 'flash')
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'flash')
|
||||
</erb>
|
||||
|
||||
h4. Coding Links to Assets
|
||||
|
|
Loading…
Reference in New Issue