- fixed response.include_files() to behave correctly with 
  response.static_version_urls
- added response.static_version_urls to admin
- refactored admin URL() usage passing always and correctly 'static'
  as the controller
This commit is contained in:
niphlod
2015-02-04 22:18:42 +01:00
parent 5da5d510a0
commit 1b34216072
4 changed files with 22 additions and 15 deletions
+1
View File
@@ -47,3 +47,4 @@ if 'adminLanguage' in request.cookies and not (request.cookies['adminLanguage']
#set static_version
from gluon.settings import global_settings
response.static_version = global_settings.web2py_version.split('-')[0]
response.static_version_urls = True