Add stack sorting functionality

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-05-23 18:09:42 +02:00
parent fbc12ae8f7
commit b6d94ec9ff
9 changed files with 141 additions and 9 deletions

View File

@@ -80,6 +80,16 @@ class StackController extends Controller {
return $this->stackService->update($id, $title, $boardId, $order);
}
/**
* @NoAdminRequired
* @param $stackId
* @param $order
* @return array
*/
public function reorder($stackId, $order) {
return $this->stackService->reorder($stackId, $order);
}
/**
* @NoAdminRequired
* @param $stackId