diff options
| author | Richard Mathot (OpenERP) <rim@openerp.com> | 2014-05-12 16:20:48 +0200 |
|---|---|---|
| committer | Richard Mathot (OpenERP) <rim@openerp.com> | 2014-05-12 16:20:48 +0200 |
| commit | d34c54dbb6c034062743fa6bca7792d3f4e335c2 (patch) | |
| tree | f98ce32351aa301217d274474f868cd3d08e9b67 | |
| parent | e70fc38f2fac33d138bbd3c6bbca1082ff720572 (diff) | |
[FIX] URL generation in blog template
| -rw-r--r-- | addons/website_blog/views/website_blog_templates.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index fa6c6af53c6..7d7bdbf86a3 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -49,7 +49,7 @@ <t t-foreach="posts" t-as="post"> <div class="col-md-4"> <h4> - <a t-attf-href="#{blog_url('', ['blogpost'], blogpost=post)}" t-field="post.name"></a> + <a t-attf-href="#{blog_url('', ['blog', 'post'], blog=post.blog_id, post=post)}" t-field="post.name"></a> <span t-if="not post.website_published" class="text-warning"> &nbsp; <span class="fa fa-warning" title="Not published"/> |
