PDF: comment out memoizes (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2d97a7453b
commit
56a7ff0bc7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue