Changeset 8368
- Timestamp:
- 12/10/07 09:12:50 (7 months ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_view/helpers/asset_tag_helper.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r8366 r8368 1 1 *SVN* 2 2 3 * Ensure asset cache directories are automatically created. #10337 [Josh Peek ]3 * Ensure asset cache directories are automatically created. #10337 [Josh Peek, Chu Yeow] 4 4 5 5 * render :xml and :json preserve custom content types. #10388 [jmettraux, Chu Yeow] trunk/actionpack/lib/action_view/helpers/asset_tag_helper.rb
r8366 r8368 203 203 204 204 write_asset_file_contents(joined_javascript_path, compute_javascript_paths(sources)) 205 javascript_ tag(joined_javascript_name, options)205 javascript_src_tag(joined_javascript_name, options) 206 206 else 207 expand_javascript_sources(sources).collect { |source| javascript_ tag(source, options) }.join("\n")207 expand_javascript_sources(sources).collect { |source| javascript_src_tag(source, options) }.join("\n") 208 208 end 209 209 end … … 462 462 end 463 463 464 def javascript_ tag(source, options)464 def javascript_src_tag(source, options) 465 465 content_tag("script", "", { "type" => Mime::JS, "src" => path_to_javascript(source) }.merge(options)) 466 466 end