[FIX] website_blog: read_more link was wrong, leading to a 404.

The website_blog route is blog/<blog_id>, nothing related to category anymore.

bzr revid: tde@openerp.com-20131024113539-v3e7oi9j67vp27sx
This commit is contained in:
Thibault Delavallée 2013-10-24 13:35:39 +02:00
parent 2cc18c153e
commit 9f0dcae234
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class BlogPost(osv.Model):
'oe_expand_container_tag': 'div',
'oe_expand_container_class': 'oe_mail_expand text-center',
'oe_expand_container_content': '',
'oe_expand_a_href': '/blog/%d/%d' % (page.category_id.id, page.id),
'oe_expand_a_href': '/blog/%d/' % page.id,
'oe_expand_a_class': 'oe_mail_expand btn btn-info',
'oe_expand_separator_node': 'br',
},