Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

blow the cache

  • Loading branch information...
commit b7de0602044464920da4ddd8f6bb5ceb23f45b46 1 parent 085449f
@schacon schacon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/doc_controller.rb
View
2  app/controllers/doc_controller.rb
@@ -48,7 +48,7 @@ def man
latest = Rails.cache.read("latest-version")
filename = params[:file]
version = params[:version] || latest
- @cache_key = "man-v2-#{filename}-#{latest}-#{version}"
+ @cache_key = "man-v3-#{filename}-#{latest}-#{version}"
if !Rails.cache.exist?("views/" + @cache_key)
doc_version = doc_for filename, version
Please sign in to comment.
Something went wrong with that request. Please try again.