diff options
| author | Romain Derie <rde@odoo.com> | 2018-09-19 17:00:20 +0200 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-09-25 19:16:10 +0200 |
| commit | 4daceeddb2f9e048d4b681632a9507a6dd997805 (patch) | |
| tree | 358af4372bd62dfb1129cf667d8394fe8503f8f8 /addons/website_blog/controllers/main.py | |
| parent | d3530eb07e24278117ab396ecb86a59deecc312d (diff) | |
[IMP] website(_*): add kwargs in routes where necessary
task-32836
Diffstat (limited to 'addons/website_blog/controllers/main.py')
| -rw-r--r-- | addons/website_blog/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_blog/controllers/main.py b/addons/website_blog/controllers/main.py index 902b74dee90..1d09540e8cf 100644 --- a/addons/website_blog/controllers/main.py +++ b/addons/website_blog/controllers/main.py @@ -177,7 +177,7 @@ class WebsiteBlog(http.Controller): return response @http.route(['''/blog/<model("blog.blog", "[('website_id', 'in', (False, current_website_id))]"):blog>/feed'''], type='http', auth="public") - def blog_feed(self, blog, limit='15'): + def blog_feed(self, blog, limit='15', **kwargs): v = {} v['blog'] = blog v['base_url'] = request.env['ir.config_parameter'].sudo().get_param('web.base.url') |
