Skip to content
Browse files

blow the cache

  • Loading branch information...
1 parent 085449f commit b7de0602044464920da4ddd8f6bb5ceb23f45b46 @schacon schacon committed
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

0 comments on commit b7de060

Please sign in to comment.
Something went wrong with that request. Please try again.