Skip to content

Commit

Permalink
updated login
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniespratley committed Dec 14, 2014
1 parent bceb19c commit 5dc304c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/scripts/controllers/users.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)

)
Empty file.
File renamed without changes.
8 changes: 4 additions & 4 deletions www/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li class="active"><a href="/">Home</a></li>
<li><a href="/account">Account</a></li>

</ul>
</div><!--/.nav-collapse -->
</div>
</div>

<div class="container">
<%- body %>


</div><!-- /.container -->

Expand Down

0 comments on commit 5dc304c

Please sign in to comment.