Commit a184b21a authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

PDF: comment out memoizes (#61).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dc82df16
......@@ -2,7 +2,7 @@ module RFPDF
module TemplateHandler
class CompileSupport
extend ActiveSupport::Memoizable
# extend ActiveSupport::Memoizable
attr_reader :options
......@@ -27,14 +27,14 @@ module RFPDF
def ie_request?
@controller.request.env['HTTP_USER_AGENT'] =~ /msie/i
end
memoize :ie_request?
# memoize :ie_request?
# added to make ie happy with ssl pdf's (per naisayer)
def ssl_request?
# @controller.request.env['SERVER_PROTOCOL'].downcase == "https"
@controller.request.ssl?
end
memoize :ssl_request?
# memoize :ssl_request?
# TODO: kept around from railspdf-- maybe not needed anymore? should check.
def set_pragma
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment