diff --git a/app/Http/Controllers/CategoryManagementController.php b/app/Http/Controllers/CategoryManagementController.php index 6f0a862..aa03f3a 100644 --- a/app/Http/Controllers/CategoryManagementController.php +++ b/app/Http/Controllers/CategoryManagementController.php @@ -14,8 +14,6 @@ class CategoryManagementController extends Controller { use GitTrait; - public function __construct() {} - public function index() { $this->authorize('do-everything'); diff --git a/app/Http/Controllers/EntityFederationController.php b/app/Http/Controllers/EntityFederationController.php index eceb397..8384876 100644 --- a/app/Http/Controllers/EntityFederationController.php +++ b/app/Http/Controllers/EntityFederationController.php @@ -17,8 +17,6 @@ class EntityFederationController extends Controller { use GitTrait; - public function __construct() {} - public function index(Entity $entity) { $this->authorize('view', $entity); diff --git a/app/Http/Controllers/EntityManagementController.php b/app/Http/Controllers/EntityManagementController.php index d7a57e1..3f6b043 100644 --- a/app/Http/Controllers/EntityManagementController.php +++ b/app/Http/Controllers/EntityManagementController.php @@ -15,8 +15,6 @@ class EntityManagementController extends Controller { use GitTrait, ValidatorTrait; - public function __construct() {} - public function index() { $this->authorize('do-everything'); diff --git a/app/Http/Controllers/EntityOrganizationController.php b/app/Http/Controllers/EntityOrganizationController.php index cc6d709..9be7a25 100644 --- a/app/Http/Controllers/EntityOrganizationController.php +++ b/app/Http/Controllers/EntityOrganizationController.php @@ -12,8 +12,6 @@ class EntityOrganizationController extends Controller { use ValidatorTrait; - public function __construct() {} - public function update(Entity $entity, AssignOrganization $request) { $this->authorize('do-everything'); diff --git a/app/Http/Controllers/EntityPreviewMetadataController.php b/app/Http/Controllers/EntityPreviewMetadataController.php index 8ef91a8..7953dcb 100644 --- a/app/Http/Controllers/EntityPreviewMetadataController.php +++ b/app/Http/Controllers/EntityPreviewMetadataController.php @@ -6,8 +6,6 @@ class EntityPreviewMetadataController extends Controller { - public function __construct() {} - public function show(Entity $entity) { $this->authorize('view', $entity); diff --git a/app/Http/Controllers/FederationJoinController.php b/app/Http/Controllers/FederationJoinController.php index 6dd01f5..befe13f 100644 --- a/app/Http/Controllers/FederationJoinController.php +++ b/app/Http/Controllers/FederationJoinController.php @@ -7,8 +7,6 @@ class FederationJoinController extends Controller { - public function __construct() {} - public function index(Federation $federation) { $this->authorize('update', $federation); diff --git a/app/Http/Controllers/GroupManagementController.php b/app/Http/Controllers/GroupManagementController.php index 19042f7..213a4d3 100644 --- a/app/Http/Controllers/GroupManagementController.php +++ b/app/Http/Controllers/GroupManagementController.php @@ -14,8 +14,6 @@ class GroupManagementController extends Controller { use GitTrait; - public function __construct() {} - public function index() { $this->authorize('do-everything');