             promise.then ->
                 $loading.finish(target)
                 $confirm.notify("success")
+                newUrl = $navurls.resolve("project-admin-project-profile-details", {project: $scope.project.slug})
+                $location.path(newUrl)
                 $scope.$emit("project:loaded", $scope.project)
 
             promise.then null, (data) ->


    return {link:link}

module.directive("tgProjectProfile", ["$tgRepo", "$tgConfirm", "$tgLoading", ProjectProfileDirective])


#############################################################################

## Project Profile Directive
#############################################################################

ProjectProfileDirective = ($repo, $confirm, $loading, $navurls, $location) ->
    link = ($scope, $el, $attrs) ->
        form = $el.find("form").checksley({"onlyOneErrorElement": true})
        submit = (target) =>
