summaryrefslogtreecommitdiff
path: root/addons/website_livechat/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_livechat/controllers/main.py')
-rw-r--r--addons/website_livechat/controllers/main.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/website_livechat/controllers/main.py b/addons/website_livechat/controllers/main.py
index 989d817d2ef..60dd538fc20 100644
--- a/addons/website_livechat/controllers/main.py
+++ b/addons/website_livechat/controllers/main.py
@@ -7,7 +7,7 @@ from odoo.http import request
class WebsiteLivechat(http.Controller):
- @http.route('/livechat', type='http', auth="public", website=True)
+ @http.route('/livechat', type='http', auth="public", website=True, sitemap=True)
def channel_list(self, **kw):
# display the list of the channel
channels = request.env['im_livechat.channel'].search([('website_published', '=', True)])
@@ -16,8 +16,7 @@ class WebsiteLivechat(http.Controller):
}
return request.render('website_livechat.channel_list_page', values)
-
- @http.route('/livechat/channel/<model("im_livechat.channel"):channel>', type='http', auth='public', website=True)
+ @http.route('/livechat/channel/<model("im_livechat.channel"):channel>', type='http', auth='public', website=True, sitemap=True)
def channel_rating(self, channel, **kw):
# get the last 100 ratings and the repartition per grade
domain = [