             promise = $repo.save($scope.project)
             promise.then ->
                 $confirm.notify("success")
+                $location.path("/project/#{$scope.project.slug}/admin/project-profile/details")
 
             promise.then null, (data) ->
                 form.setErrors(data)


    return {link:link}

module.directive("tgProjectProfile", ["$log", "$tgRepo", "$tgConfirm", ProjectProfileDirective])
module.directive("tgProjectFeatures", ["$log", "$tgRepo", "$tgConfirm", ProjectFeaturesDirective])

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

ProjectProfileDirective = ($log, $repo, $confirm, $location) ->
    link = ($scope, $el, $attrs) ->
        form = $el.find("form").checksley()
        submit = =>
