method
javascript_url
v4.2.1 -
Show latest stable
- Class:
ActionView::Helpers::AssetUrlHelper
javascript_url(source, options = {})public
Computes the full URL to a JavaScript asset in the public javascripts directory. This will use javascript_path internally, so most of their behaviors will be the same.