mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rails.root is a Pathname, no need to use File.join first.
This commit is contained in:
parent
2cf0bb4e03
commit
760fd1eb42
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue