Make ++skin++ work for Five views by putting another stub method on the

request.  I wonder when we can retire ZPublisher and use zope.publisher
instead.
parent cc6a27ba
......@@ -1349,6 +1349,10 @@ class HTTPRequest(BaseRequest):
"""see zope.publisher.interfaces.IPublicationRequest"""
self._presentation_skin = skin
def shiftNameToApplication(self):
"""see zope.publisher.interfaces.http.IVirtualHostRequest"""
# this is needed for ++skin++
def getURL(self):
return self.URL
......
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