module AssetTagHelper
Ruby on Rails 8.0.4
Since v2.2.3Action View Asset Tag Helpers
This module provides methods for generating HTML that links views to assets such as images, JavaScripts, stylesheets, and feeds. These methods do not verify the assets exist before linking to them:
image_tag("rails.png") # => <img src="/assets/rails.png" /> stylesheet_link_tag("application") # => <link href="/assets/application.css?body=1" rel="stylesheet" />
Includes
Constants
Methods (defined here)
Private methods
(6)
Implementation detail — not part of the public API.
Methods (inherited)
From ActionView::Helpers::AssetUrlHelper (32)
- # asset_path
- # asset_url
- # audio_path
- # audio_url
- # compute_asset_extname
- # compute_asset_host
- # compute_asset_path
- # font_path
- # font_url
- # image_path
- # image_url
- # javascript_path
- # javascript_url
- # path_to_asset
- # path_to_audio
- # path_to_font
- # path_to_image
- # path_to_javascript
- # path_to_stylesheet
- # path_to_video
- # public_compute_asset_path
- # stylesheet_path
- # stylesheet_url
- # url_to_asset
- # url_to_audio
- # url_to_font
- # url_to_image
- # url_to_javascript
- # url_to_stylesheet
- # url_to_video
- # video_path
- # video_url
From ActionView::Helpers::TagHelper (8)
- # cdata_section
- # class_names
- # content_tag
- # escape_once
- # tag
- # token_list
- self. build_tag_values
- self. ensure_valid_html5_tag_name
From ActionView::Helpers::CaptureHelper (4)
- # capture
- # content_for
- # content_for?
- # provide
From ActionView::Helpers::OutputSafetyHelper (3)
- # raw
- # safe_join
- # to_sentence