mongrel_page_cache_handler 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/m_action_controller_base.rb +1 -1
- data/lib/tasks/rubyforge_config.yml +1 -1
- metadata +1 -1
@@ -8,7 +8,7 @@ class ActionController::Base
|
|
8
8
|
def set_mongrel_page_cache_header
|
9
9
|
if request.get?
|
10
10
|
# puts "Setting mongrel page cache header for: #{params[:controller]}/#{params[:action]}"
|
11
|
-
response.headers['mongrel_cache_me'] =
|
11
|
+
response.headers['mongrel_cache_me'] = true
|
12
12
|
else
|
13
13
|
# puts "Won't set mongrel page cache header because the request was not a GET."
|
14
14
|
end
|