aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-06-02 14:34:11 +0200
committerPiotr Sarnacki <drogus@gmail.com>2012-06-07 21:48:24 +0200
commit5b0a8916ea5a7c565aaf27964bf19a8f3bf5f558 (patch)
tree2df0cc990fc8fd8d496fdc5cbbac690088bf5323 /tools
parent68d3e1f42f7de671a07cf1eb9de577fa2f8c82f0 (diff)
downloadrails-5b0a8916ea5a7c565aaf27964bf19a8f3bf5f558.tar.gz
rails-5b0a8916ea5a7c565aaf27964bf19a8f3bf5f558.tar.bz2
rails-5b0a8916ea5a7c565aaf27964bf19a8f3bf5f558.zip
Fix asset tags for files with more than one dot
After the fix done in 39f9f02a, there are cases that will not work correctly. If you have file with "2 extensions", like foo.min.js and you reference the file without extension, like: javascript_include_tag "foo.min" it will fail because sprockets finds foo.min.js with foo.min argument. This commit fixes this case and will get the right file even when referrencing it without extension. (closes #6598)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions