wrong statement about the choice of timestamp attribute from the site

did committed Sep 23, 2015
commit 3b8c74e1e66a00a6ba9ca8f9eaf3b4c2f35eaea4
Showing 1 changed file with 1 additions and 1 deletions
locomotive/steam/services/asset_host_service.rb b/lib/locomotive/steam/services/asset_host_service.rb +1 -1
@@ @@ -14,7 +14,7 @@ module Locomotive
def compute(source, timestamp = nil)
return source if source.nil?
- timestamp ||= site.try(:template_version).to_i || site.try(:updated_at).to_i
+ timestamp ||= (site.try(:template_version) || site.try(:updated_at)).to_i
return add_timestamp_suffix(source, timestamp) if source =~ Steam::IsHTTP