From 330d4f5a16e0b62f915e4920fb1ca15d77b65460 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 31 Jul 2014 12:39:23 +0100 Subject: [PATCH] Redirect to cloned project after copy --- .../ide/clone/controllers/CloneProjectModalController.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/web/public/coffee/ide/clone/controllers/CloneProjectModalController.coffee b/services/web/public/coffee/ide/clone/controllers/CloneProjectModalController.coffee index c8d5d3268c..5c7cc55ea3 100644 --- a/services/web/public/coffee/ide/clone/controllers/CloneProjectModalController.coffee +++ b/services/web/public/coffee/ide/clone/controllers/CloneProjectModalController.coffee @@ -22,8 +22,7 @@ define [ $scope.state.inflight = true cloneProject($scope.inputs.projectName) .then (data) -> - console.log "DATA", data - #window.location = "/project/#{data.project_id}" + window.location = "/project/#{data.data.project_id}" $scope.cancel = () -> $modalInstance.dismiss('cancel') \ No newline at end of file