change lot of stuff
This commit is contained in:
@@ -35,7 +35,7 @@ class BoardController extends Controller {
|
||||
*/
|
||||
public function read($boardId) {
|
||||
// FIXME: Remove as this is just for testing if loading animation works out nicely
|
||||
usleep(200000);
|
||||
//usleep(2000);
|
||||
return $this->boardService->find($this->userId, $boardId);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,19 @@ class CardController extends Controller {
|
||||
public function delete($cardId) {
|
||||
return $this->cardService->delete($this->userId, $cardId);
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function archive($id) {
|
||||
return $this->cardService->archive($id);
|
||||
}
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function unarchive($id) {
|
||||
return $this->cardService->unarchive($id);
|
||||
}
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,12 @@ class StackController extends Controller {
|
||||
public function index($boardId) {
|
||||
return $this->stackService->findAll($boardId);
|
||||
}
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function archived($boardId) {
|
||||
return $this->stackService->findAllArchived($boardId);
|
||||
}
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user