提交 3d595c5e 编写于 作者: N Nick Quaranto

use Rails.root.join for assets guide

上级 876d3f23
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册