From 8c6ebd3e6d91e2e723b1ec2a99097b15ab3b2c6d Mon Sep 17 00:00:00 2001 From: Matjaz Gregoric Date: Thu, 7 Jul 2016 19:32:18 +0800 Subject: [PATCH] Bring back timestamps on JS bundles. Timestamps are not present as of dcc9b02c2b9254fc4e6e53ba4a2dbc36378540cd. This is a temporary workaround until the issue is properly fixed upstream. Also see #268. --- lib/jammit/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jammit/helper.rb b/lib/jammit/helper.rb index 2dc721c2..a84744ad 100644 --- a/lib/jammit/helper.rb +++ b/lib/jammit/helper.rb @@ -30,7 +30,7 @@ def include_javascripts(*packages) html_safe packages.map {|pack| should_package? ? Jammit.asset_url(pack, :js) : Jammit.packager.individual_urls(pack.to_sym, :js) }.flatten.map {|pack| - "" + javascript_include_tag pack, options }.join("\n") end