Creates an asset url under assets_base_url.
{{ 'images/large/' | asset_url }}
'/assets/themes/example_theme/images/large/'
Generates url for given stylesheet.
{{ 'application.css' | stylesheet_url }}
'/assets/themes/1/stylesheets/application.css'
Generates a stylesheet tag for given stylesheet url.
{{ 'application.css' | stylesheet_url | stylesheet_tag }}
<link href='/assets/themes/1/stylesheets/application.css' rel='stylesheet' type='text/css' media='all'>
Generates url for given script.
{{ 'application.js' | javascript_url }}
'/assets/themes/1/javascripts/application.js'
Generates a script tag for given script url.
{{ 'application.js' | javascript_url | script_tag }}
#### Output
~~~ html
<script src='/assets/themes/1/javascripts/application.js' type='text/javascript'></script>
Generates image url for given image.
{{ 'rental.jpg' | image_url }}
'/assets/themes/1/images/rental.jpg'
Generates an image tag for given image url.
{{ 'rental.jpg' | image_url | img_tag }}
<img src='/assets/themes/1/images/rental.jpg' alt='alt'>