     $scope.submit = ->
         promise = $scope.project.save()
         promise.then (data) ->
-            console.log data
+            $gmFlash.info("Project saved successful!")
+
         promise.then null, (data) ->
             console.error data
             $scope.checksleyErrors = data


module = angular.module("greenmine.controllers.project", [])
module.controller("ProjectListController", ['$scope', '$rootScope', 'resource', ProjectListController])
module.controller("ProjectAdminController", ["$scope", "$rootScope", "$routeParams", "$data", "resource", ProjectAdminController])

        $scope.projects = projects


ProjectAdminController = ($scope, $rootScope, $routeParams, $data, $gmFlash, rs) ->
    $rootScope.pageSection = 'admin'
    $rootScope.pageBreadcrumb = ["", "Project Admin"]
    $rootScope.projectId = parseInt($routeParams.pid, 10)
