[FIX] Removed the ending slash of download attachment routes

bzr revid: sle@openerp.com-20140311171219-j80lkmaezfezptxx
This commit is contained in:
Simon Lejeune 2014-03-11 18:12:19 +01:00
parent d504764eff
commit 5f417a7397
1 changed files with 2 additions and 2 deletions

View File

@ -488,7 +488,7 @@ class Report(http.Controller):
return request.make_response(barcode, headers=[('Content-Type', 'image/png')])
@http.route('/report/download/', type='http', auth="user")
@http.route('/report/download', type='http', auth="user")
def report_attachment(self, data, token):
"""This function is used by 'qwebactionmanager.js' in order to trigger the download of
a report of any type.
@ -515,7 +515,7 @@ class Report(http.Controller):
response.set_cookie('fileToken', token)
return response
@http.route('/report/check_wkhtmltopdf/', type='json', auth="user")
@http.route('/report/check_wkhtmltopdf', type='json', auth="user")
def check_wkhtmltopdf(self):
"""Check the presence of wkhtmltopdf and return its version. If wkhtmltopdf
cannot be found, return False.