add and display interrupt status

This commit is contained in:
aynsix
2020-08-06 15:17:06 +03:00
parent f6854caaba
commit b5b69343bd
13 changed files with 1932 additions and 1777 deletions

View File

@@ -88,6 +88,11 @@ class ControllerServiceProvider implements ControllerProviderInterface, ServiceP
->method('GET')
->bind('worker_admin_queue_monitor');
$controllers->match('/{workerId}/change-status', 'controller.worker.admin.configuration:changeStatusAction')
->method('POST')
->assert('workerId', '\d+')
->bind('worker_admin_change_status');
return $controllers;
}