[IMP] redirect to root page instead of providing a link

bzr revid: xmo@openerp.com-20110317160124-9a9fde1cqimct59a
This commit is contained in:
Xavier Morel
2011-03-17 17:01:24 +01:00
parent 5298cde953
commit 20b55e10c1
+1 -1
View File
@@ -249,7 +249,7 @@ class Root(object):
return m(**kw)
else:
return '<a href="/base/static/openerp/base.html">/base/static/openerp/base.html</a>'
raise cherrypy.HTTPRedirect('/base/static/openerp/base.html', 301)
default.exposed = True
def main(argv):