mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Simple .empty? test will do fine here (rails_asset_id returns nice strings).
This commit is contained in:
@@ -810,7 +810,7 @@ module ActionView
|
||||
end
|
||||
|
||||
asset_id = rails_asset_id(source)
|
||||
if asset_id.blank?
|
||||
if asset_id.empty?
|
||||
source
|
||||
else
|
||||
source + "?#{asset_id}"
|
||||
|
||||
Reference in New Issue
Block a user