Fixed bug

This commit is contained in:
Yaman 2015-01-01 02:21:21 -05:00
parent 5ba92d597d
commit a09ae9367b

View File

@ -37,7 +37,7 @@ Template.chromebook.events({
Chromebooks.update(this._id, {$set: {last_checkout: null}}); Chromebooks.update(this._id, {$set: {last_checkout: null}});
Chromebooks.update(this._id, {$set: {userid: null}}); Chromebooks.update(this._id, {$set: {userid: null}});
} }
} },
'click .cross': function() { 'click .cross': function() {
if (Roles.userIsInRole(Meteor.userId(), ['admin'])) { if (Roles.userIsInRole(Meteor.userId(), ['admin'])) {
Router.go('/admin'); Router.go('/admin');