summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/survey/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/survey/controllers/main.py b/addons/survey/controllers/main.py
index a6181e87c70..80ee03d0dcf 100644
--- a/addons/survey/controllers/main.py
+++ b/addons/survey/controllers/main.py
@@ -49,7 +49,7 @@ class Survey(http.Controller):
return None
@http.route('/survey/test/<model("survey.survey"):survey>', type='http', auth='user', website=True)
- def survey_test(self, survey, token=None):
+ def survey_test(self, survey, token=None, **kwargs):
""" Test mode for surveys: create a test answer, only for managers or officers
testing their surveys """
if request.env.user.has_group('survey.group_survey_manager') or \