equal
deleted
inserted
replaced
104 """ |
104 """ |
105 |
105 |
106 def __init__(self, config, vreg=None): |
106 def __init__(self, config, vreg=None): |
107 self.appli = CubicWebPublisher(config, vreg=vreg) |
107 self.appli = CubicWebPublisher(config, vreg=vreg) |
108 self.config = config |
108 self.config = config |
109 self.base_url = config['base-url'] |
109 self.base_url = self.config['base-url'] |
110 self.https_url = config['https-url'] |
110 self.https_url = self.config['https-url'] |
111 self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') |
111 self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') |
112 |
112 |
113 def _render(self, req): |
113 def _render(self, req): |
114 """this function performs the actual rendering |
114 """this function performs the actual rendering |
115 """ |
115 """ |