aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ActionController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/ActionController.php')
-rw-r--r--app/Models/ActionController.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Models/ActionController.php b/app/Models/ActionController.php
index 69ee72b52..27fdfa44d 100644
--- a/app/Models/ActionController.php
+++ b/app/Models/ActionController.php
@@ -1,10 +1,14 @@
<?php
declare(strict_types=1);
-class FreshRSS_ActionController extends Minz_ActionController {
+abstract class FreshRSS_ActionController extends Minz_ActionController {
/**
* @var FreshRSS_View
*/
protected $view;
+
+ public function __construct(string $viewType = '') {
+ parent::__construct($viewType === '' ? FreshRSS_View::class : $viewType);
+ }
}