Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simple .empty? test will do fine here (rails_asset_id returns nice st…

…rings).
  • Loading branch information...
commit e1bccc5169ba18238aa0bde720384efc74c533b0 1 parent 7cee158
thedarkone thedarkone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/asset_tag_helper.rb
2  actionpack/lib/action_view/helpers/asset_tag_helper.rb
View
@@ -810,7 +810,7 @@ def rewrite_asset_path(source, path = nil)
end
asset_id = rails_asset_id(source)
- if asset_id.blank?
+ if asset_id.empty?
source
else
source + "?#{asset_id}"
Please sign in to comment.
Something went wrong with that request. Please try again.