Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$scope.rename_file = function(name){
Restangular.one('environments', $scope.data.appid).one('file', $scope.data.nodetype).all('/rename').post({path:$scope.current_file.path, new_path: name}).then(function(res){
debugger
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.