diff --git a/app/scripts/controllers/users.coffee b/app/scripts/controllers/users.coffee index df8166d..3cf7261 100644 --- a/app/scripts/controllers/users.coffee +++ b/app/scripts/controllers/users.coffee @@ -55,11 +55,10 @@ angular.module('angularCmsApp').controller('UsersCtrl', ($scope, DataService) -> delete user.password if user.password user.updated_at = new Date() DataService.save('users', user).then((data) -> + $('#user-modal').modal('hide') $scope.getUsers() $scope.users.push(user) unless user._id $scope.user = {} - console.log(data) - $('#user-modal').modal('hide') ) ) diff --git a/test/routes/functional/cms-passport.js b/test/routes/functional/cms-passport.js new file mode 100644 index 0000000..e69de29 diff --git a/www/index.html b/www/_index.html similarity index 100% rename from www/index.html rename to www/_index.html diff --git a/www/layout.ejs b/www/layout.ejs index 7a5c7fc..cffc13a 100644 --- a/www/layout.ejs +++ b/www/layout.ejs @@ -20,9 +20,9 @@ @@ -30,7 +30,7 @@
<%- body %> - +