summaryrefslogtreecommitdiff
path: root/addons/website_google_map/controllers
diff options
context:
space:
mode:
authorchm@openerp.com <>2014-03-14 17:23:46 +0100
committerchm@openerp.com <>2014-03-14 17:23:46 +0100
commit353bbdc2c3d0e019561eb60aacb36b68b4ed935a (patch)
tree3edf0d86cb82f1579552b30c54cc5ed2dd0bc22c /addons/website_google_map/controllers
parent9bc57fdc08660ae426e0d5910af58ae3cbe432cb (diff)
[FIX] website: route and redirect: remove all backslash from url
bzr revid: chm@openerp.com-20140314162346-25vohj6ayp65tgiy
Diffstat (limited to 'addons/website_google_map/controllers')
-rw-r--r--addons/website_google_map/controllers/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_google_map/controllers/main.py b/addons/website_google_map/controllers/main.py
index 98a86230d7e..01a0cc3b85e 100644
--- a/addons/website_google_map/controllers/main.py
+++ b/addons/website_google_map/controllers/main.py
@@ -7,7 +7,7 @@ from datetime import datetime
class google_map(http.Controller):
- @http.route(['/google_map/'], type='http', auth="public", website=True)
+ @http.route(['/google_map'], type='http', auth="public", website=True)
def google_map(self, *arg, **post):
values = {
'partner_ids': post.get('partner_ids', ""),
@@ -28,7 +28,7 @@ class google_map(http.Controller):
return partner_obj.google_map_json(request.cr, openerp.SUPERUSER_ID,
partner_ids, request.context)
- @http.route(['/google_map/set_partner_position/'], type='http', auth="public", website=True)
+ @http.route(['/google_map/set_partner_position'], type='http', auth="public", website=True)
def google_map_set_partner_position(self, *arg, **post):
partner_obj = request.registry['res.partner']