Skip to content

Commit

Permalink
Removed the deprecated behavior of appending ".png" to image_tag/imag…
Browse files Browse the repository at this point in the history
…e_path calls without an existing extension [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Sep 9, 2007
1 parent c6c3fc4 commit d66c9cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actionpack/lib/action_view/helpers/asset_tag_helper.rb
Expand Up @@ -315,8 +315,7 @@ def stylesheet_link_tag(*sources)

# Computes the path to an image asset in the public images directory.
# Full paths from the document root will be passed through.
# Used internally by image_tag to build the image path. Passing
# a filename without an extension is deprecated.
# Used internally by image_tag to build the image path.
#
# ==== Examples
# image_path("edit") # => /images/edit
Expand Down

0 comments on commit d66c9cb

Please sign in to comment.