comparison src/pages/tickets/view/page_meta.py @ 1085:1c09f41e2f52

pages: fixed used of "blog" page instead of "blog_view"
author Goffi <goffi@goffi.org>
date Mon, 02 Apr 2018 09:09:43 +0200
parents b92b06f023cb
children 7d5633ccbaf2
comparison
equal deleted inserted replaced
1084:a24dd1d316f5 1085:1c09f41e2f52
56 56
57 @defer.inlineCallbacks 57 @defer.inlineCallbacks
58 def on_data_post(self, request): 58 def on_data_post(self, request):
59 type_ = self.getPostedData(request, u'type') 59 type_ = self.getPostedData(request, u'type')
60 if type_ == u'comment': 60 if type_ == u'comment':
61 blog_page = self.getPageByName(u'blog') 61 blog_page = self.getPageByName(u'blog_view')
62 yield blog_page.on_data_post(self, request) 62 yield blog_page.on_data_post(self, request)
63 else: 63 else:
64 log.warning(_(u"Unhandled data type: {}").format(type_)) 64 log.warning(_(u"Unhandled data type: {}").format(type_))