diff --git a/app/Http/Controllers/SubdomainController.php b/app/Http/Controllers/SubdomainController.php index 14e0afa03461..7751eda00d85 100644 --- a/app/Http/Controllers/SubdomainController.php +++ b/app/Http/Controllers/SubdomainController.php @@ -26,6 +26,8 @@ class SubdomainController extends BaseController 'docs', 'client_domain', 'custom_domain', + 'preview', + 'invoiceninja', ]; public function __construct() diff --git a/app/Models/Presenters/CompanyPresenter.php b/app/Models/Presenters/CompanyPresenter.php index b550213277de..c9a7d9aafedc 100644 --- a/app/Models/Presenters/CompanyPresenter.php +++ b/app/Models/Presenters/CompanyPresenter.php @@ -27,7 +27,6 @@ class CompanyPresenter extends EntityPresenter return $this->settings->name ?: ctrans('texts.untitled_account'); - //return $this->entity->name ?: ctrans('texts.untitled_account'); } @@ -49,7 +48,7 @@ class CompanyPresenter extends EntityPresenter /** * Test for using base64 encoding */ - public function logo2($settings = null) + public function logo_base64($settings = null) { if (! $settings) { $settings = $this->entity->settings;