Add extra line breaks

This commit is contained in:
Blade Barringer
2015-10-19 08:02:35 -05:00
parent 4a3e60d0d7
commit f03be07595

View File

@@ -150,6 +150,7 @@ habitrpg.controller('SettingsCtrl',
Notification.text(env.t('promoCodeApplied'));
});
}
$scope.generateCodes = function(codes){
$http.post(ApiUrl.get() + '/api/v2/coupons/generate/'+codes.event+'?count='+(codes.count || 1))
.success(function(res,code){
@@ -158,6 +159,7 @@ habitrpg.controller('SettingsCtrl',
window.location.href = '/api/v2/coupons?limit='+codes.count+'&_id='+User.user._id+'&apiToken='+User.user.apiToken;
})
}
$scope.releasePets = function() {
User.user.ops.releasePets({});
$rootScope.$state.go('tasks');