module AssetTagHelper
Ruby on Rails 4.1.16
Since v2.2.3This 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 alt="Rails" src="/assets/rails.png" /> stylesheet_link_tag("application") # => <link href="/assets/application.css?body=1" media="screen" rel="stylesheet" />
Includes
Extends
Methods (defined here)
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From ActionView::Helpers::AssetUrlHelper (31)
- # 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
- # 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 (4)
- # cdata_section
- # content_tag
- # escape_once
- # tag
From ActiveSupport::Concern (2)
From ActionView::Helpers::CaptureHelper (4)
- # capture
- # content_for
- # content_for?
- # provide