1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2007-09-09 22:42:24 +00:00
parent c6c3fc42d8
commit d66c9cba55

View file

@ -315,8 +315,7 @@ module ActionView
# 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