projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c8a59b
)
[IMP] web: alternative routes for company logo
author
Christophe Simonis
<chs@openerp.com>
Thu, 30 Jan 2014 18:08:27 +0000
(19:08 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Thu, 30 Jan 2014 18:08:27 +0000
(19:08 +0100)
bzr revid: chs@openerp.com-
20140130180827
-xior7wc6shtamcgu
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
6e7a7fc
..
ef64c5e
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-1437,7
+1437,11
@@
class Binary(http.Controller):
args = {'error': "Something horrible happened"}
return out % (simplejson.dumps(callback), simplejson.dumps(args))
- @http.route('/web/binary/company_logo', type='http', auth="none")
+ @http.route([
+ '/web/binary/company_logo',
+ '/logo',
+ '/logo.png',
+ ], type='http', auth="none")
def company_logo(self, dbname=None):
# TODO add etag, refactor to use /image code for etag
uid = None