diff --git a/rhodecode/templates/admin/repos/repo_creating.mako b/rhodecode/templates/admin/repos/repo_creating.mako --- a/rhodecode/templates/admin/repos/repo_creating.mako +++ b/rhodecode/templates/admin/repos/repo_creating.mako @@ -62,7 +62,7 @@ } } else { - var currentUrl = "${h.current_route_path()}"; + var currentUrl = "${h.current_route_path(request)}"; var message = _gettext('Fetching repository state failed. Error code: {0} {1}. Try refreshing this page.').format(resp.status, resp.statusText, currentUrl); var payload = { message: {