diff --git a/website_blog_mgmt/controllers/main.py b/website_blog_mgmt/controllers/main.py index 9bb4cf2e68..58b890bf24 100644 --- a/website_blog_mgmt/controllers/main.py +++ b/website_blog_mgmt/controllers/main.py @@ -1,13 +1,9 @@ # -*- coding: utf-8 -*- -# include bug fix from rgo-odoo https://github.com/odoo/odoo/pull/3097 -# + remove specified order when calling blog_post.search from openerp.addons.web import http from openerp.addons.web.http import request from openerp.addons.website_blog.controllers.main import WebsiteBlog from openerp.addons.website_blog.controllers.main import QueryURL -from openerp.addons.website.models.website import slug -from openerp import SUPERUSER_ID class WebsiteBlog(WebsiteBlog): @@ -93,125 +89,3 @@ def blog(self, blog=None, tag=None, page=1, **opt): response = request.website.render( "website_blog.blog_post_short", values) return response - - @http.route([ - '''/blog//post/