[FIX] incorrect route
bzr revid: rim@openerp.com-20140417142648-zx2izdo6p9byqp3q
This commit is contained in:
parent
732293d69b
commit
c89723fcb8
|
@ -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>.'''
|
||||
|
|
Loading…
Reference in New Issue