Add cache-busting query param to doc file urls

pull/165/head
Thibaut 10 years ago
parent 2696402458
commit fc14333e1f

@ -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}"

Loading…
Cancel
Save