diff --git a/VERSION b/VERSION index 951f7e2a..3734e654 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.5-stable+timestamp.2013.04.06.09.43.40 +Version 2.4.5-stable+timestamp.2013.04.06.09.48.12 diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index 5881d16a..9afe7ea9 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -708,7 +708,7 @@ def edit(): cfilename = os.path.join(request.args[0], 'controllers', request.args[2] + '.py') if os.path.exists(apath(cfilename, r=request)): - edit_controller = URL('edit', args=[cfilename]) + edit_controller = URL('edit',args=[cfilename.replace(os.sep, "/")]) view = request.args[3].replace('.html', '') view_link = URL(request.args[0], request.args[2], view) elif filetype == 'python' and request.args[1] == 'controllers':