Code improvements
This commit is contained in:
@@ -31,7 +31,7 @@ abstract class CommonController {
|
||||
protected AdminTenantRepository $adminTenants;
|
||||
|
||||
public function __construct() {
|
||||
$this->tenant = app('tenant');
|
||||
$this->tenant = currentTenant();
|
||||
$this->users = new UserRepository();
|
||||
$this->costUnits = new CostUnitRepository();
|
||||
$this->pageTexts = new PageTextRepository();
|
||||
|
||||
Reference in New Issue
Block a user