[WIP] im_livechat: typo in controller arguments

This commit is contained in:
Nicolas Lempereur
2015-09-08 11:50:03 +02:00
committed by Olivier Dony
parent dfcc8f1b69
commit 1c4049463d
+1 -1
View File
@@ -9,7 +9,7 @@ import base64
class LivechatController(http.Controller):
@http.route('/im_livechat/external_lib.<any(css,js):ext>', type='http', auth='none')
def livechat_lib(self, xmlid, ext, **kwargs):
def livechat_lib(self, ext, **kwargs):
asset = AssetsBundle("im_livechat.external_lib")
# can't use /web/content directly because we don't have attachment ids (attachments must be created)
status, headers, content = binary_content(id=getattr(asset, ext)().id, unique=asset.checksum)