summaryrefslogtreecommitdiff
path: root/addons/website_google_map/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_google_map/controllers/main.py')
-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']