mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 11:45:18 -05:00
Almost Finished the inbox messages adminpage. Now the only thing missing is the creation of new messages and the mailer.
This commit is contained in:
@@ -19,7 +19,7 @@ abstract class AdminToolController extends Controller
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
View::share('title', static::$name);
|
||||
$this->overrideTitle(static::$name);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,4 +54,8 @@ final public static function getNeededPermission(): string
|
||||
{
|
||||
return static::$neededPermission->value;
|
||||
}
|
||||
|
||||
final protected function overrideTitle(string $title): void {
|
||||
View::share('title', $title);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user