[FIX] incorrect route

bzr revid: rim@openerp.com-20140417142648-zx2izdo6p9byqp3q
This commit is contained in:
Richard Mathot (OpenERP) 2014-04-17 16:26:48 +02:00
parent 732293d69b
commit c89723fcb8
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class WebsiteSurvey(http.Controller):
# Printing routes
@http.route(['/survey/print/<model("survey.survey"):survey>',
'/survey/print/<model("survey.survey"):survey>/<string:token>'],
type='http', auth='user', multilang=True, website=True)
type='http', auth='public', multilang=True, website=True)
def print_survey(self, survey, token=None, **post):
'''Display an survey in printable view; if <token> is set, it will
grab the answers of the user_input_id that has <token>.'''