Started work on enabling/disabling components
This commit is contained in:
@@ -69,7 +69,8 @@ class ComponentController extends AbstractApiController
|
||||
Binput::get('status'),
|
||||
Binput::get('link'),
|
||||
Binput::get('order'),
|
||||
Binput::get('group_id')
|
||||
Binput::get('group_id'),
|
||||
(bool) Binput::get('enabled')
|
||||
));
|
||||
} catch (Exception $e) {
|
||||
throw new BadRequestHttpException();
|
||||
@@ -109,7 +110,8 @@ class ComponentController extends AbstractApiController
|
||||
Binput::get('status'),
|
||||
Binput::get('link'),
|
||||
Binput::get('order'),
|
||||
Binput::get('group_id')
|
||||
Binput::get('group_id'),
|
||||
(bool) Binput::get('enabled')
|
||||
));
|
||||
} catch (Exception $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
||||
Reference in New Issue
Block a user