Improve user controllers and views

This commit is contained in:
Frederic Guillot
2016-05-16 20:55:21 -04:00
parent abdf6f9780
commit 4514bc1d4b
49 changed files with 219 additions and 210 deletions

View File

@@ -40,7 +40,7 @@ class UserStatusController extends BaseController
$this->flash->failure(t('Unable to remove this user.'));
}
$this->response->redirect($this->helper->url->to('user', 'index'));
$this->response->redirect($this->helper->url->to('UserListController', 'show'));
}
/**
@@ -73,7 +73,7 @@ class UserStatusController extends BaseController
$this->flash->failure(t('Unable to enable this user.'));
}
$this->response->redirect($this->helper->url->to('user', 'index'));
$this->response->redirect($this->helper->url->to('UserListController', 'show'));
}
/**
@@ -106,6 +106,6 @@ class UserStatusController extends BaseController
$this->flash->failure(t('Unable to disable this user.'));
}
$this->response->redirect($this->helper->url->to('user', 'index'));
$this->response->redirect($this->helper->url->to('UserListController', 'show'));
}
}