Example #1
0
 success: function(response) {
   if (response.data) {
     feedbackQueue.createMessage({message: response.data})
   } else {
     url.redirect('adminDashboard')
   }
 },
Example #2
0
 success: function(result) {
   feedbackQueue.createMessage(result);
   url.redirect('admin/tennis/' + $button.data('singular') + '/all');
 },