6.1 AssetTagHelper:用于generate html语言
image_tag ,return an HTML image tag for the source, 可以是部分路径。例子见下。
image_tag(
"rails.png"
)
# => <img src="http://assets.example.com/images/rails.png" alt="Rails" />