From fc14333e1fa9f3e6543810072ca3a374f71ff683 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 8 Feb 2015 09:57:26 -0500 Subject: [PATCH] Add cache-busting query param to doc file urls --- assets/javascripts/models/doc.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/models/doc.coffee b/assets/javascripts/models/doc.coffee index bd01a630..89e78d61 100644 --- a/assets/javascripts/models/doc.coffee +++ b/assets/javascripts/models/doc.coffee @@ -26,7 +26,7 @@ class app.models.Doc extends app.Model "/#{@slug}#{path}" fileUrl: (path) -> - "#{app.config.docs_host}#{@fullPath(path)}" + "#{app.config.docs_host}#{@fullPath(path)}?#{@mtime}" dbUrl: -> "#{app.config.docs_host}/#{@db_path}?#{@mtime}"