method

javascript_src_tag

rails latest stable - Class: ActionView::Helpers::AssetTagHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

javascript_src_tag(source, options)
private

No documentation available.

# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 825
        def javascript_src_tag(source, options)
          content_tag("script", "", { "type" => Mime::JS, "src" => path_to_javascript(source) }.merge(options))
        end