Methods
- A
- C
- E
Instance Public methods
Source: show
# File actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb, line 10 def asset_name 'javascript' end
Source: show
# File actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb, line 18 def asset_tag(source, options) content_tag("script", "", { "type" => Mime::JS, "src" => path_to_asset(source) }.merge(options)) end
Source: show
# File actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb, line 22 def custom_dir config.javascripts_dir end
Source: show
# File actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb, line 14 def extension 'js' end