Tutorial by Examples: assettaghelper

To let rails automatically and correctly link assets (css/js/images) in most cases you want to use built in helpers. (Official documentation) Image helpers image_path This returns the path to an image asset in app/assets/images. image_path("edit.png") # => /assets/edit.png image_...

Page 1 of 1