diff src/pages/merge-requests/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
line wrap: on
line diff
--- a/src/pages/merge-requests/view/page_meta.py	Sun Apr 01 20:56:16 2018 +0200
+++ b/src/pages/merge-requests/view/page_meta.py	Mon Apr 02 09:09:43 2018 +0200
@@ -65,7 +65,7 @@
 def on_data_post(self, request):
     type_ = self.getPostedData(request, u'type')
     if type_ == u'comment':
-        blog_page = self.getPageByName(u'blog')
+        blog_page = self.getPageByName(u'blog_view')
         yield blog_page.on_data_post(self, request)
     else:
         log.warning(_(u"Unhandled data type: {}").format(type_))