method
javascript_path
v1.1.6 -
Show latest stable
- Class:
ActionView::Helpers::AssetTagHelper
javascript_path(source)public
Returns path to a javascript asset. Example:
javascript_path "xmlhr" # => /javascripts/xmlhr.js
javascript_path(source)Returns path to a javascript asset. Example:
javascript_path "xmlhr" # => /javascripts/xmlhr.js