equal
deleted
inserted
replaced
164 # update breadcrumps **before** validating cache, unless the view |
164 # update breadcrumps **before** validating cache, unless the view |
165 # specifies explicitly it should not be added to breadcrumb or the |
165 # specifies explicitly it should not be added to breadcrumb or the |
166 # view is a binary view |
166 # view is a binary view |
167 if view.add_to_breadcrumbs and not view.binary: |
167 if view.add_to_breadcrumbs and not view.binary: |
168 self._cw.update_breadcrumbs() |
168 self._cw.update_breadcrumbs() |
169 |
|
170 def validate_cache(self, view): |
|
171 view.set_http_cache_headers() |
|
172 self._cw.validate_cache() |
|
173 |
169 |
174 def execute_linkto(self, eid=None): |
170 def execute_linkto(self, eid=None): |
175 """XXX __linkto parameter may cause security issue |
171 """XXX __linkto parameter may cause security issue |
176 |
172 |
177 defined here since custom application controller inheriting from this |
173 defined here since custom application controller inheriting from this |