Skip to content

Commit

Permalink
removed cache
Browse files Browse the repository at this point in the history
  • Loading branch information
solgems committed Apr 8, 2012
1 parent a5f6acf commit 988d4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base
include SessionsHelper

# prevent users from accessing private info using browser's back after log-out
before_filter :set_no_cache
# before_filter :set_no_cache

def set_no_cache
response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate"
Expand Down

0 comments on commit 988d4be

Please sign in to comment.